Skip to content

Instantly share code, notes, and snippets.

@mpfund
Created June 6, 2020 13:22
Show Gist options
  • Save mpfund/e8e21dc80d24b134b4b50833c659fbfa to your computer and use it in GitHub Desktop.
Save mpfund/e8e21dc80d24b134b4b50833c659fbfa to your computer and use it in GitHub Desktop.
# source https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-9
sudo apt update
# let apt use package over https
sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
# add docker gpg key
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
# add docker repository to apt
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
sudo apt update
# enable docker repo
apt-cache policy docker-ce
# install docker
sudo apt install docker-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment