安装依赖时出现问题​​yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm​

failure: repodata/repomd.xml from mirrors.aliyun.com_docker-ce_linux_centos_docker-ce.repodnf_linux


解决办法:

切换到 ​​/etc/yum.repos.d​​ 目录下,将所有 docker 相关的 repo全部删掉

failure: repodata/repomd.xml from mirrors.aliyun.com_docker-ce_linux_centos_docker-ce.repodnf_centos_02


删除之后

failure: repodata/repomd.xml from mirrors.aliyun.com_docker-ce_linux_centos_docker-ce.repodnf_docker_03


重新添加镜像

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

failure: repodata/repomd.xml from mirrors.aliyun.com_docker-ce_linux_centos_docker-ce.repodnf_centos_04