V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
binghe
V2EX  ›  问与答

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

  •  
  •   binghe · 2022-10-08 23:33:27 +08:00 · 731 次点击
    这是一个创建于 631 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我在 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
    ```
    2 条回复    2022-10-09 09:13:53 +08:00
    yyysuo
        1
    yyysuo  
       2022-10-09 08:26:20 +08:00
    还是解决网络问题吧。
    512357301
        2
    512357301  
       2022-10-09 09:13:53 +08:00 via Android
    主 dns 改成 8.8.8.8 就好了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2673 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:53 · PVG 22:53 · LAX 07:53 · JFK 10:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.