案发现场
[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