在使用命令 docker-compose up
出现以下错误
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-99d4a76aae8f -j RETURN: iptables: Index of insertion too big.
(exit status 1))
原因:关闭防火墙后,docker 需要重启
解决:执行命令
/bin/systemctl restart docker.service