docker 容器连不了网,怎么处理
PHPz
PHPz 2017-04-26 09:01:17
0
2
970

docker 容器连不了网,怎么处理

PHPz
PHPz

学习是最好的投资!

reply all(2)
迷茫

Run in host sysctl net.ipv4.conf.all.forwarding 确保这个转发功能为开启。
如果没开的话运行 sysctl net.ipv4.conf.all.forwarding=1 Enable it.

阿神

I have encountered this problem before. It was caused by modifying the firewall settings. Restarting the docker service can solve it.

The poster can try to restart the docker service, centos is service docker restart

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!