Last active
July 14, 2020 13:38
-
-
Save jasonbronson/c885a01509b4c2a78b7954d566a49206 to your computer and use it in GitHub Desktop.
Install docker on Debian 10
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
sudo apt-get update; | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common; | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -; | |
sudo apt-key fingerprint 0EBFCD88; | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) \ | |
stable"; | |
sudo apt-get update; | |
sudo apt-get install -y docker-ce docker-ce-cli containerd.io; | |
apt-get install -y docker-compose; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use with
curl -sS https://gist.githubusercontent.com/jasonbronson/c885a01509b4c2a78b7954d566a49206/raw/8324dec2327b5ef34a257c1806420bcfd03629e7/dockerinstall.sh | sudo bash