ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule

现象:

执行安装docker镜像命令使提示如下:

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

原因是关闭防火墙之后docker需要重启,执行以下命令重启docker即可:

service docker restart

 

posted @ 2021-09-25 16:22  John_2011  阅读(63)  评论(0编辑  收藏  举报