Er1c0
V2EX  ›  问与答

spug 容器内 yum , git clone 都用不了、是什么原因呢;我容器解决了 ping 不了的问题

  •  
  •   Er1c0 · Jun 7, 2022 · 624 views
    This topic created in 1435 days ago, the information mentioned may be changed or developed.

    境外 cloudclone 服务器,机子直接 yum ,git clone ,ping 是正常的;但 spug 容器内 yum ,git clone 都用不了、但 ping baidu.com ,8.8.8.8 ,curl google.com 是正常的的。 境外 cloudclone 服务器最初 spug 容器内 ping 不了通过重建 docker0 网络解决问题 $ sudo service docker stop $ sudo pkill docker $ sudo iptables -t nat -F $ sudo ifconfig docker0 down $ sudo brctl delbr docker0 $ sudo service docker start 另一个境内腾讯云服务器机子,spug 容器内 yum ,git clone ,ping 都是正常的(虽然网速慢)。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3187 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 14:27 · PVG 22:27 · LAX 07:27 · JFK 10:27
    ♥ Do have faith in what you're doing.