Error response from daemon Failed to Setup IP tables Unable

created at 08-17-2021 views: 188


An error is reported when customizing the IP segment for the docker container:

Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-9d4494e2a3fb -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))


The firewall was closed when the docker container was opened, and docker needs to be restarted:

systemctl restart docker
created at:08-17-2021
edited at: 08-17-2021: