执行 docker-compose up -d 时报错:
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-94fed0fadcfc -j RETURN: iptables: No chain/target/match by that name.
应该是docker和iptables冲突导致的
解决方案:
service iptables restart
service docker restart
注意执行顺序。
在执行docker-composeup-d时遇到错误:无法设置IPtables规则。错误提示表明iptalbes与Docker之间存在冲突。解决方案是先重启iptables服务,然后重启Docker服务,注意执行顺序。

3万+

被折叠的 条评论
为什么被折叠?



