Skip to content

Instantly share code, notes, and snippets.

@stevenfrst
Created April 28, 2019 11:30
Show Gist options
  • Save stevenfrst/4cae22e57748a4bd0a79384335aa065c to your computer and use it in GitHub Desktop.
Save stevenfrst/4cae22e57748a4bd0a79384335aa065c to your computer and use it in GitHub Desktop.
install docker
sudo su
apt update
apt-get install apt-transport-https ca-certificates gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt update -y
apt-get install docker-ce docker-ce-cli containerd.io -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment