Last active
January 30, 2019 06:02
-
-
Save kolosek/44fb161eadb86db30d1552650c9ddc88 to your computer and use it in GitHub Desktop.
Ubuntu 18.04 docker installation
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 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 test" | |
sudo apt update | |
sudo apt install docker-ce | |
echo "Check if docker installed by running: $sudo systemctl status docker" | |
echo "Add user to docker group" | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
echo "Please restart machine" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment