Last active
June 6, 2019 04:27
-
-
Save kevinfelisilda/8388078756a6fa630aba055181022528 to your computer and use it in GitHub Desktop.
Install docker in linux
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 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 bionic stable" | |
sudo apt update | |
apt-cache policy docker-ce | |
sudo apt install docker-ce | |
To check the status: | |
sudo systemctl status docker | |
Optional: add $USER to docker group (make sure to log out and back in after) | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
sudo systemctl restart docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment