1、docker 安装centos最新版并启动一个命令行连接
docker run -it centos /bin/bash
2、替换yum源,参考https://www.cnblogs.com/gabin/p/6519352.html