yum安装报错 https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f117:83:face:b00c:0:25de: 网络不可达"

https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f117:83:face:b00c:0:25de: 网络不可达"

原因分析

由于国内访问不到docker官方镜像的缘故

sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

 

posted @ 2024-08-29 17:46  study_php_java_C++  阅读(122)  评论(0编辑  收藏  举报