码迷,mamicode.com
首页 > 其他好文 > 详细

docker-compose操作容器报错:ERROR: Failed to Setup IP tab

时间:2020-07-22 02:23:08      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:sys   failed   turn   driver   iptables   ret   docker   The   关闭   

报错信息
[root@docker01 elk]#docker-compose up -d
Creating network "elk_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-ca67fb76e85c -j RETURN: iptables: No chain/target/match by that 
name. (exit status 1))

原因及解决

关闭防火墙后需要重启docker:systemctl restart docker

docker-compose操作容器报错:ERROR: Failed to Setup IP tab

标签:sys   failed   turn   driver   iptables   ret   docker   The   关闭   

原文地址:https://blog.51cto.com/14843781/2512310

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!