Er1c0
V2EX  ›  问与答

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

  •  
  •   Er1c0 · Jun 7, 2022 · 634 views
    This topic created in 1439 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   ·   3020 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    ♥ Do have faith in what you're doing.