执行docker-compose时出现了一下报错
[root@docker ~]# docker-compose up -d
Creating network "root_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-e2ac26ab6df8 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))
原因是 关闭防火墙后需要重启docker
systemctl restart docker