关于xhell的yum资源问题如何解决?

服务器虚拟机xhell部署docker的yum用不了怎么解决呢?

换一个yum源。

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo
yum clean all
yum repolist