国外镜像一般很难访问,建议配置阿里云镜像。yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
cent os docker 源
原文:https://www.cnblogs.com/runliuv/p/12730713.html