安装harbor报错ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables –wait -t nat -I DOCKER -i br-00d64db4e617 -j RETURN: iptables: No chain/target/match by that name

  • A+
所属分类:Linux

Warning: preg_match_all(): Compilation failed: missing ) at offset 223 in /b/www/wwwroot/www.u22e.com/wp-content/themes/begin5.2/inc/inc.php on line 130

Warning: preg_match_all(): Compilation failed: missing ) at offset 223 in /b/www/wwwroot/www.u22e.com/wp-content/themes/begin5.2/inc/inc.php on line 131

harbor安装执行命令报错如下

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

解决方法

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

service docker restart

然后再执行下面命令即可

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: