安装docker时遇到failure: repodata/repomd.xml from mirrors.aliyun.com_docker-: [Errno 256] No 解决方法 进入 /etc/yum.repos.d目录下,将所有有关 docker 的repo 全部删掉 比如:rm -rf /etc/yum.repos.d/docker-ce.repo 将所有有关 docker 的repo 全部删掉即可 然后按照正常的顺序安装docker即可 安装docker可参考:https://blog.csdn.net/nyasm/article/details/108303803?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162079820716780271550439%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=162079820716780271550439&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_v2~rank_v29-1-108303803.nonecase&utm_term=docker 本文参考自:https://www.freesion.com/article/1434621273/