一、执行docker pull命令,拉取镜像失败
报错信息:error pulling image configuration: get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/51/5107333e08a87b836d48ff7528b1e84b9c86781cc9f1748bbc1b8c42a870d933/data?verify=1725414357-z%2bnavrrs0%2fi0d3ixkdh8jhhjguq%3d: dial tcp 88.191.249.182:443: i/o timeout
[root@vm-12-10-centos docker]# docker pull mysql:5.7 5.7: pulling from library/mysql 20e4dcae4c69: pulling fs layer 1c56c3d4ce74: pulling fs layer e9f03a1c24ce: pulling fs layer 68c3898c2015: waiting 6b95a940e7b6: waiting 90986bb8de6e: waiting ae71319cb779: waiting ffc89e9dfd88: waiting 43d05e938198: waiting 064b2d298fba: waiting df9a4d85569b: waiting error pulling image configuration: get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/51/5107333e08a87b836d48ff7528b1e84b9c86781cc9f1748bbc1b8c42a870d933/data?verify=1725414357-z%2bnavrrs0%2fi0d3ixkdh8jhhjguq%3d: dial tcp 88.191.249.182:443: i/o timeout
二、解决方案
解决的步骤如下:
1. 打开daemon.json文件
vim /etc/docker/daemon.json
2. 将其镜像地址进行替换
{ "registry-mirrors": [ "https://docker.m.daocloud.io", "https://dockerproxy.com", "https://registry.docker-cn.com", "https://docker.mirrors.ustc.edu.cn", "https://hub-mirror.c.163.com", "https://hub.uuuadc.top", "https://docker.anyhub.us.kg", "https://dockerhub.jobcher.com", "https://dockerhub.icu", "https://docker.ckyl.me", "https://docker.awsl9527.cn", "https://mirror.baidubce.com" ] }
三、重启docker服务
systemctl daemon-reload systemctl restart docker
到此这篇关于docker pull命令拉取镜像失败的解决方案的文章就介绍到这了,更多相关docker pull拉取镜像失败内容请搜索代码网以前的文章或继续浏览下面的相关文章希望大家以后多多支持代码网!
发表评论