Failed to Setup IP tables
2021-04-08 本文已影响0人
amengtongxue
瞎折腾port forwarding,搞坏了iptables,误删了docker相关的规则。在启动容器的时候报错:
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-5157c68198e7 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))
重启docker服务解决:
systemctl restart docker