Created
June 6, 2020 13:22
-
-
Save mpfund/e8e21dc80d24b134b4b50833c659fbfa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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