Skip to content

Instantly share code, notes, and snippets.

@dargmuesli
Last active March 27, 2023 19:08
Show Gist options
  • Save dargmuesli/58073a79a71f97e6bdd60d6cb93f207c to your computer and use it in GitHub Desktop.
Save dargmuesli/58073a79a71f97e6bdd60d6cb93f207c to your computer and use it in GitHub Desktop.
Commands from Docker to install Docker on Debian (amd64).
# Run
# wget https://gist.githubusercontent.com/dargmuesli/58073a79a71f97e6bdd60d6cb93f207c/raw -O docker-debian-amd64-start.sh && chmod +x docker-debian-amd64-start.sh && ./docker-debian-amd64-start.sh
sudo apt-get update
sudo apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
echo "9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88"
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get -y install \
docker-ce \
docker-ce-cli \
containerd.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment