在安装docker时报错
failure: repodata/repomd.xml from mirrors.aliyun.com_dockece_linux_centos_docker-ce.repor: [Errno 256] No more mirrors to try.
http://mirrors.aliyun.com/dockece/linux/centos/docker-ce.repor/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
解决
进入目录
cd /etc/yum.repos.d
执行rm -rf删除所有
rm -rf *
然后
yum update
之后
重新设置yum源
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/r