Skip to content

Instantly share code, notes, and snippets.

@skizhak
Created January 28, 2019 17:14
Show Gist options
  • Save skizhak/938ebbf8e91524437d35c0b0ca1ca1b8 to your computer and use it in GitHub Desktop.
Save skizhak/938ebbf8e91524437d35c0b0ca1ca1b8 to your computer and use it in GitHub Desktop.
Docker on Ubuntu 18.04
#Follow https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
sudo apt-get install apt install apt-transport-https ca-certificates curl software-properties-common
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
sudo systemctl status docker
sudo usermod -aG docker `whoami`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment