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

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

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

    境外 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   ·   实用小工具   ·   1150 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 23:00 · PVG 07:00 · LAX 16:00 · JFK 19:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.