首页 > 系统 > linux > 正文

docker报错 WARNING: IPv4 forwarding is disabled. Networking will not work
2018-08-08 14:33:21   来源:   评论:0 点击: 收藏

Docker报错 :WARNING: IPv4 forwarding is disabled Networking will not work 解决办法: vi usr lib sysctl d 00-system
Docker报错 :


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



解决办法:

# vi /usr/lib/sysctl.d/00-system.conf



添加如下代码:

net.ipv4.ip_forward=1



重启network服务

systemctl restart network

相关热词搜索:WARNING IPv4 forwarding is disabled

上一篇:-bash: ulimit: open files: cannot modify limit: Operation not permitted
下一篇:centos7分区大小调整