https://mirrors.ustc.edu.cn/centos/7/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://mirrors.ustc.edu.cn/centos/7/os/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30543 milliseconds')
报错提示yum源不能访问,
首先,你要确保你机器网络配置正确,能上网,否则,就只能使用本地源
然后,配置好YUM源,可以删除或者备份yum源里的所有配置文件,然后重新进行配置,
如果是外网,可以使用阿里源,配置方法可参考:
阿里源基础包设置方法:https://developer.aliyun.com/mirror/centos
阿里云EPEL源设置方法:https://developer.aliyun.com/mirror/epel
上不了网可以参考这个https://blog.csdn.net/heisejingyu/article/details/126370369
docker安装可以参考这个https://blog.csdn.net/heisejingyu/article/details/126462797