V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Yuesh1
V2EX  ›  Docker

各位佬,请问私有 registry, mac 的 push 老 503/connection refused 的问题有遇到过吗?

  •  
  •   Yuesh1 · Oct 27, 2022 · 1227 views
    This topic created in 1286 days ago, the information mentioned may be changed or developed.

    Background:

    1. docker client: docker desktop for mac
    2. mac version: intel
    3. registry server location: centos7
    4. proxy:surge 4 for mac
    5. 在其他 centos7 的服务器上往这个 registry 上推镜像,很正常
    6. 在同事的 mac 可 windows for desktop 都是 503 或者拒绝

    期间找了很多方面的可能

    • 1 、代理问题 由于 desktop 是启动了一个虚拟机去启动 docker , 所以在考虑是不是代理的问题,导致无法访问到, 但是看到了 daemon.json/docker info 查询, 使用了 http.docker.internal 这个特殊的域名,可以转发请求, 所以应该不是代理和网络的信息
    • 2 、client 的问题 还切换了 colima 这个 docker 运行时进行尝试,依旧无法工作
    • 3 、surge 的问题 设置了 no-proxy ,抓包看了是正常的请求
    • 4 、利用 Charles 抓包 一切正常
    • 5 、利用 wireshark 有很多 tcp 的 Retransmission 状态,到这里就比较迷茫了
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 15:43 · PVG 23:43 · LAX 08:43 · JFK 11:43
    ♥ Do have faith in what you're doing.