执行docker-compose up -d时出现ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule

在CentOS关闭防火墙后,再执行docker-compose up -d时报错了

ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  (iptables failed: iptables --wait -t nat -I DOCKER -i br-7506353a9954 -j RETURN: iptables: No chain/target/match by that name.

解决办法是重启docker

systemctl restart docker
0%