Install Docker on Debian
This chapter covers how to install and configure Docker Engine on Debian.
System Requirements
Docker Engine supports the following Debian versions (64-bit):
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
Uninstall Old Versions
Install Using APT Repository (Recommended)
1. Update and Install Dependencies
2. Add Docker's Official GPG Key
3. Add Docker APT Repository
4. Install Docker Engine
5. Verify Installation
Post-Installation Setup
Run Docker Without sudo
Enable on Boot
Common Issues
iptables Compatibility
Debian defaults to nftables, but Docker requires iptables: