已在 daemon.json 配置了多个镜像源: DaoCloud 镜像站: https://docker.m.daocloud.io 腾讯云公共镜像库: https://mirror.ccs.tencentyun.com 华为云镜像服务: https://developer.huaweicloud.com/dm/mirrors 1Panel 镜像源: https://docker.1panel.live Unsee 镜像源: https://docker-0.unsee.tech 1ms.run 镜像源: https://docker.1ms.run Azure 中国镜像: http://mirror.azure.cn 中国区官方镜像: https://registry.docker-cn.com 清华源: https://docker.mirrors.ustc.edu.cn 阿里源: https://cr.console.aliyun.com 腾讯源: https://mirror.ccs.tencentyun.com 网易源: http://hub-mirror.c.163.com https://mirror.iscas.ac.cn/ (部分镜像已失效) 修改了 DNS 也不行,拉取 hello-world 、openweb-ui 时等其他项目时还是会走到 https://registry-1.docker.io/v2 这个请求,但是这个服务器上无法打开,一直无法拉取镜像。 请问是什么问题,如何解决
1 ywlvs 232 天前 ![]() 看了您的标题及排版,感觉无效是正常的。 |
![]() | 2 EarthChild 232 天前 离线安装 docker 吧。搜索:银河麒麟 sp3 离线安装 docker 教程 |
![]() | 3 EarthChild 232 天前 噢。是镜像源……你 github 多搜搜就能找到了 国内的全部 gg |
4 psllll 232 天前 ![]() 直接挂代理多好,为什么要用镜像源 /etc/systemd/system/docker.service.d/http-proxy.conf [Service] EnvirOnment="HTTP_PROXY=http://127.0.0.1:7891" EnvirOnment="HTTPS_PROXY=http://127.0.0.1:7891" |
8 hnliuzesen 232 天前 ![]() |
10 leeda 232 天前 ![]() 请配置以下镜像列表: https://github.com/dongyubin/DockerHub |
![]() | 11 jasonyang9 232 天前 via Android 自建 registry 。。我现在遇到有用的镜像后都打 tag 并 push 到自建 registry 。。。。 |
12 kekylin 232 天前 ![]() 可以直接用我项目的脚本,一键配置 docker 镜像源,感兴趣可以看看。 https://github.com/kekylin/Debian-HomeNAS |
![]() | 14 halobugTurbo 232 天前 既然不能 proxy ( 4 楼老哥一定能解决问题),那就用 11 楼老哥说的。 |
15 renmu 232 天前 via Android 因为你的镜像已经都失效了 |
![]() | 17 catamaran 232 天前 你是不是没有重启服务,以及 daemon reload |
![]() | 18 Manley 231 天前 |
20 sthwrong 231 天前 公司内部维护个 dockerhub 啊,用得上的镜像写个 dockerfile 自定义了扔内部 hub 上,服务器去内部 hub 拉也行,save 成镜像包推服务器上也行。 |
![]() | 21 fionasit007 231 天前 我之前用群晖自己 cf 代理的,不过在面板能浏览搜索,但是安装不了,登进命令行就能安转,你要是直接命令行应该也可以,网上教程应该挺多的,docker cf 代理 |
23 goashore OP 谢谢大家,尝试了多个后,已经解决了 |