Skip to content

Instantly share code, notes, and snippets.

@asheroto
Last active February 10, 2021 16:12
Show Gist options
  • Save asheroto/e599476a71a95dc8b86b68528eabae8c to your computer and use it in GitHub Desktop.
Save asheroto/e599476a71a95dc8b86b68528eabae8c to your computer and use it in GitHub Desktop.
Install Docker on Debian Linux
apt-get remove docker docker-engine docker.io containerd runc
apt-get update
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common -y
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
apt-get update
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