[FAQ] docker-ce depends on containerd.io, docker-ce depends on docker-ce-cli

安装 docker 缺少依赖会提示你安装,一般是以下两个:

Package containerd.io is not installed

Package docker-ce-cli is not installed.

docker 官方 package 下载列表中提供了这两个包。

以 ubuntu18.04 为例,可以看到 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/

用 sudo dpkg -i /path/xx.deb 依次安装 containerd.io 和 docker-ce-cli,最后是 docker-ce。

Ref:https://github.com/phvia/dkc

Ref:https://docs.docker.com/engine/install/ubuntu/#install-from-a-package

Link:https://www.cnblogs.com/farwish/p/12934921.html

原文地址:https://www.cnblogs.com/farwish/p/12934921.html