站点图标 星露谷值班站长

docker WARNING: bridge-nf-call-iptables is disabled 处理

解决 docker 报错

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

【系统环境】:centos 7

【解决方法】

vim /etc/sysctl.conf 
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-arptables = 1

最后 sysctl - p 即可


退出移动版