WARNING: bridge-nf-call-iptables is disabled 解决

出现问题

[root@centos74 ~]# docker info

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

解决方法

[root@centos74 ~]# tail -2 /etc/sysctl.conf     # 添加如下两行
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1

[root@centos74 ~]# sysctl -p
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1

 

你可能感兴趣的:(问题锦集)