Skip to content

Instantly share code, notes, and snippets.

@AysadKozanoglu
Last active July 30, 2026 09:30
Show Gist options
  • Select an option

  • Save AysadKozanoglu/765cacc44b0a230663c8ad85c5b8bb65 to your computer and use it in GitHub Desktop.

Select an option

Save AysadKozanoglu/765cacc44b0a230663c8ad85c5b8bb65 to your computer and use it in GitHub Desktop.
### debian bookworm 12 docker installation

debian bookworm 12 docker installation

apt install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
Components: stable
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/docker.asc
EOF

apt update
apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment