使用的是清华大学开源镜像站,文件地址:
https://github.com/hackyoMa/docker-centos/blob/8/CentOS-Base.repo
使用方法:
cd /etc/yum.repos.d/ rm -f CentOS-Base.repo CentOS-AppStream.repo CentOS-PowerTools.repo CentOS-centosplus.repo CentOS-Extras.repo curl -o CentOS-Base.repo https://raw.githubusercontent.com/hackyoMa/docker-centos/8/CentOS-Base.repo yum makecache