【yum】centos 中 “docker -ce-stable“ yum仓库错误解决方案

在使用 yum 命令时遇到 Docker CE 的错误提示,通常是由于 SSL 连接问题或网络配置错误。
Errors during downloading metadata for repository ‘docker -ce-stable’:
– Curl error (35): SSL connect error for https://downlo ad.docker.com/linux/centos/9/x86_64/stable/repodata/82c3d ba241e9fd65ad31d30e46d1700871ae402467872228ca8f818261fc92 73-filelists.xml.gz [OpenSSL SSL_connect: Connection rese t by peer in connection to download.docker.com:443 ]
Error: Failed to download metadata for repo ‘docker-ce-st able’: Yum repo downloading error: Downloading error(s): repodata/82c3dba241e9fd65ad31d30e46d1700871ae402467872228 ca8f818261fc9273-filelists.xml.gz - Cannot download, all mirrors were already tried without success

以下是一些解决此问题的建议:

1. 检查网络连接

确保你的系统能够访问外部网络。你可以通过 ping 命令测试连接:

ping download.docker.com

如果无法访问,检查防火墙或网络配置。</

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值