ToB企服应用市场:ToB评测及商务社交产业平台

标题: docker pull命令拉取镜像失败的办理方案 [打印本页]

作者: 不到断气不罢休    时间: 2024-10-19 19:43
标题: docker pull命令拉取镜像失败的办理方案
docker pull命令拉取镜像失败的办理方案

一、实验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
  1. [root@VM-12-10-centos docker]# docker pull mysql:5.7
  2. 5.7: Pulling from library/mysql
  3. 20e4dcae4c69: Pulling fs layer
  4. 1c56c3d4ce74: Pulling fs layer
  5. e9f03a1c24ce: Pulling fs layer
  6. 68c3898c2015: Waiting
  7. 6b95a940e7b6: Waiting
  8. 90986bb8de6e: Waiting
  9. ae71319cb779: Waiting
  10. ffc89e9dfd88: Waiting
  11. 43d05e938198: Waiting
  12. 064b2d298fba: Waiting
  13. df9a4d85569b: Waiting
  14. 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文件
  1. vim /etc/docker/daemon.json
复制代码
2. 将其镜像地址举行替换
  1. {
  2. "registry-mirrors": [
  3.     "https://docker.m.daocloud.io",
  4.     "https://dockerproxy.com",
  5.     "https://registry.docker-cn.com",
  6.     "https://docker.mirrors.ustc.edu.cn",
  7.     "https://hub-mirror.c.163.com",
  8.     "https://hub.uuuadc.top",
  9.     "https://docker.anyhub.us.kg",
  10.     "https://dockerhub.jobcher.com",
  11.     "https://dockerhub.icu",
  12.     "https://docker.ckyl.me",
  13.     "https://docker.awsl9527.cn",
  14.     "https://mirror.baidubce.com"
  15.   ]
  16. }
复制代码
三、重启docker服务
  1. systemctl daemon-reload
  2. systemctl restart docker
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4