在使用 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
如果无法访问,检查防火墙或网络配置。</