Skip to content

Instantly share code, notes, and snippets.

@smallwat3r
Created May 6, 2020 23:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smallwat3r/a1664013e6ca8fb9ee02dd4b886a4996 to your computer and use it in GitHub Desktop.
Save smallwat3r/a1664013e6ca8fb9ee02dd4b886a4996 to your computer and use it in GitHub Desktop.
Steps to install Docker on 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 usermod -aG docker ${USER}
su - ${USER} # or logout and log back in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment