报错:

[isunland@localhost spug]$ sudo  docker-compose up -d
Creating network "spug_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-de222ce841cd -j RETURN: iptables: No chain/target/match by that name.
 (exit status 1))
[isunland@localhost spug]$

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

service docker restart

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐