在使用命令docker network create <network-name>创建命令时,报错:

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-5365ec64cf5f -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))

造成原因:在docker运行期间关闭了防火墙

解决方法systemctl restart docker重启docker

Last modification:January 31st, 2020 at 06:34 pm