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

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

  •  
  •   Er1c0 · 2022 年 6 月 7 日 · 557 次点击
    这是一个创建于 1402 天前的主题,其中的信息可能已经有所发展或是发生改变。

    境外 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   ·   5762 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 03:32 · PVG 11:32 · LAX 20:32 · JFK 23:32
    ♥ Do have faith in what you're doing.