centos7,安装docker时,执行yum install -y yum-utils报错

解决方案:
1)进入/etc/yum.repos.d目录,删除其中所有文件

2)设置镜像源
bash
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

3)再次执行 yum install -y yum-utils
