dockerdebiancontainerddocker-ce

docker-ce : Depends: containerd.io (>= 1.4.1) but it is not going to be installed


I have an error when trying to install Docker on Debian 10 (Buster)

The following packages have unmet dependencies:
 docker-ce : Depends: containerd.io (>= 1.4.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Solution

  • The solution that worked for me is to install the last version of containerd.io on download.docker.com.

    curl -O https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/containerd.io_1.4.3-1_amd64.deb
    
    sudo apt install ./containerd.io_1.4.3-1_amd64.deb