Created
June 15, 2017 10:04
-
-
Save oscarfonts/ba34922cf90a81b1bd81076068377a41 to your computer and use it in GitHub Desktop.
Install docker ce in Ubuntu 16.04
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 update | |
sudo apt install linux-image-extra-$(uname -r) linux-image-extra-virtual | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt update | |
sudo apt install docker-ce | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
sudo systemctl enable docker | |
docker run hello-world | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment