大数据、Java EE 学习资料请关注 B 站:https://space.bilibili.com/204792350

Docker 错误收集整理,只提供解决方案,不细说错误原因(一)

WARNING: IPv4 forwarding is disabled. Networking will not work.

环境:

  • Centos 7
  • Docker 1.13.1

翻译过来是,ipv4 转发禁止,网络将无法正常工作。

解决方案:

> vim /etc/sysctl.conf

增加一个配置:

net.ipv4.ip_forward=1

重启 network 与 docker:

systemctl restart network && systemctl restart docker

查看是否修改成功:

sysctl net.ipv4.ip_forward

# Docker   错误异常   Centos7  

评论

公众号:mumuser

企鹅群:932154986

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×