【Exception】ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: ipt

案发现场

[tanpeng@tanpeng001 conf.d]$ docker-compose up -d
Creating network "nginx_default" with the default driver
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  (iptables failed: iptables --wait -t nat -I DOCKER -i br-e5af71fa0268 -j RETURN: iptables: No chain/target/match by that name.
 (exit status 1))

原应分析
原因是关闭防火墙之后docker需要重启

解决方案

# 重启docker服务
service docker restart
发布了105 篇原创文章 · 获赞 46 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/AV_woaijava/article/details/103121758