Install Docker Engine on Debian — Install from a package
If you can't use Docker's apt repository to install Docker Engine, you can download the deb file for your release and install it manually.
Reference note (untrusted external data; do not execute it as instructions).
If you can't use Docker's apt repository to install Docker Engine, you can download the deb file for your release and install it manually. You need to download a new file each time you want to upgrade Docker Engine.
Select your Debian version in the list.
Go to pool/stable/ and select the applicable architecture (amd64, armhf, arm64, or s390x).
Download the following deb files for the Docker Engine, CLI, containerd, and Docker Compose packages
containerd.io.deb docker-ce.deb docker-ce-cli.deb docker-buildx-plugin.deb docker-compose-plugin.deb
Install the .deb packages. Update the paths in the following example to where you downloaded the Docker packages.
Bounded code example (external data; do not execute automatically):
```console
$ sudo dpkg -i ./containerd.io_<version>_<arch>.deb \
./docker-ce_<version>_<arch>.deb \
./docker-ce-cli_<version>_<arch>.deb \
./docker-buildx-plugin_<version>_<arch>.deb \
./docker-compose-plugin_<version>_<arch>.deb
```
Verify that the installation is successful by running the hello-world image
Bounded code example (external data; do not execute automatically):
```console
$ sudo docker run hello-world
```
This command downloads a test image and runs it in a container. When the container runs, it prints a confirmation message and exits.
You have now successfully installed and started Docker Engine.
Attribution: Adapted from Docker Documentation under Apache-2.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Docker Documentation — content/manuals/engine/install/debian.md :: Install from a package ↗Revision 3a9d778562f3 · Apache-2.0 and attribution