docker pull centos:centos7
进入centosdocker run -it --name centos centos:centos7
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum makecache
yum -y update
win10 docker 安装centos7镜像,并安装python环境
原文:https://www.cnblogs.com/chenlizhi/p/13659302.html