登录后复制 # base wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo # docker-ce wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo yum clean all yum makecache yum install docker-ce 1.2.3.4.5.6.7.8.9.10.11. 原创作者: zhangxueliang 转载于: https://blog.51cto.com/zhangxueliang/11630840