Skip to content

Instantly share code, notes, and snippets.

@kolosek
Last active January 30, 2019 06:02
Show Gist options
  • Save kolosek/44fb161eadb86db30d1552650c9ddc88 to your computer and use it in GitHub Desktop.
Save kolosek/44fb161eadb86db30d1552650c9ddc88 to your computer and use it in GitHub Desktop.
Ubuntu 18.04 docker installation
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