给docker容器自定义IP段时报错Error response from daemon Failed to Setup IP tables Unable
错误提示:
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))
解决:
在docker容器开启时关闭过防火墙,需要重新启动一下docker
systemctl restart docker
记录工作中的一下问题