Skip to content

Instantly share code, notes, and snippets.

@dweomer
Created May 15, 2018 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dweomer/4b36d067b65e129778b34b526c67625a to your computer and use it in GitHub Desktop.
Save dweomer/4b36d067b65e129778b34b526c67625a to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) edge"
sudo apt-get update
sudo apt-get install -y docker-ce
sudo usermod -aG docker ubuntu
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# As of 2018/05/15 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/ is empty, therefore 'artful' it is
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable"
sudo apt-get update
sudo apt-get install -y docker-ce
sudo usermod -aG docker ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment