Created
May 15, 2018 17:00
-
-
Save dweomer/4b36d067b65e129778b34b526c67625a to your computer and use it in GitHub Desktop.
Install Docker CE on Ubuntu - https://docs.docker.com/install/linux/docker-ce/ubuntu/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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