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

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

  •  
  •   Er1c0 · 2022-06-07 09:27:26 +08:00 · 494 次点击
    这是一个创建于 1287 天前的主题,其中的信息可能已经有所发展或是发生改变。

    境外 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 都是正常的(虽然网速慢)。

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2780 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:28 · PVG 22:28 · LAX 06:28 · JFK 09:28
    ♥ Do have faith in what you're doing.