请教 docker 中 Registry 地址要怎么修改

2022-10-08 23:33:27 +08:00
 binghe
我在 openwrt 中拉取镜像时,一直提示
Error response from daemon: Get "https://registry-1.docker.io/v2/"
这个错误。不知道是不是这个 Registry 地址引起的。
openwrt 中的 DNS 已经修改了。对比了服务器上的信息,发现就是 Registry 这个不一样

Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://registry.docker-cn.com/
https://registry.cn-shanghai.aliyuncs.com/
https://hub-mirror.c.163.com/
Live Restore Enabled: false
```
732 次点击
所在节点    问与答
2 条回复
yyysuo
2022-10-09 08:26:20 +08:00
还是解决网络问题吧。
512357301
2022-10-09 09:13:53 +08:00
主 dns 改成 8.8.8.8 就好了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/885401

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX