Skip to content

Instantly share code, notes, and snippets.

@imylomylo
Last active June 20, 2019 10:11
Show Gist options
  • Save imylomylo/840b5ae00cb10fc0b6fccc998db3b0d5 to your computer and use it in GitHub Desktop.
Save imylomylo/840b5ae00cb10fc0b6fccc998db3b0d5 to your computer and use it in GitHub Desktop.
docker-install-ubuntu-18.04
   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
   sudo systemctl status docker
   sudo usermod -aG docker ${USER}
   su - ${USER}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment