RETURN: iptables: No chain/target/match by that name.错误解决办法

执行 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

注意执行顺序。 

猜你喜欢

转载自blog.csdn.net/watson2017/article/details/131847376