免费注册 查看新帖 |

ChinaUnix.net

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 10363 | 回复: 0

Docker 1.12 与 CentOS7的firewalld 冲突? [复制链接]

论坛徽章:
2
IT运维版块每日发帖之星
日期:2016-04-15 06:20:0015-16赛季CBA联赛之福建
日期:2016-08-08 13:37:03
发表于 2016-09-05 14:09 |显示全部楼层

CentOS7,安装Docker前,启动firewalld没问题。
安装Docker1.12以后,就会有以下报错。


sudo systemctl status -l firewalld
  1. Sep 02 15:37:25 localhost firewalld[541]: 2016-09-02 15:37:25 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C FORWARD -j DOCKER-ISOLATION' failed: iptables: No chain/target/match by that name.
  2. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -C POSTROUTING -s 192.168.16.0/20 ! -o br-11a3abcca8b9 -j MASQUERADE' failed: iptables: No chain/target/match by that name.
  3. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -C DOCKER -i br-11a3abcca8b9 -j RETURN' failed: iptables: Bad rule (does a matching rule exist in that chain?).
  4. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -D FORWARD -i br-11a3abcca8b9 -o br-11a3abcca8b9 -j DROP' failed: iptables: Bad rule (does a matching rule exist in that chain?).
  5. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C FORWARD -i br-11a3abcca8b9 -o br-11a3abcca8b9 -j ACCEPT' failed: iptables: Bad rule (does a matching rule exist in that chain?).
  6. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C FORWARD -i br-11a3abcca8b9 ! -o br-11a3abcca8b9 -j ACCEPT' failed: iptables: Bad rule (does a matching rule exist in that chain?).
  7. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C FORWARD -o br-11a3abcca8b9 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT' failed: iptables: Bad rule (does a matching rule exist in that chain?).
  8. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C FORWARD -o br-11a3abcca8b9 -j DOCKER' failed: iptables: No chain/target/match by that name.
  9. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C DOCKER-ISOLATION -i br-11a3abcca8b9 -o docker0 -j DROP' failed: iptables: Bad rule (does a matching rule exist in that chain?).
  10. Sep 02 17:00:43 localhost firewalld[541]: 2016-09-02 17:00:43 ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t filter -C DOCKER-ISOLATION -i docker0 -o br-11a3abcca8b9 -j DROP' failed: iptables: Bad rule (does a matching rule exist in that chain?).
复制代码


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

基于案例的 SQL 优化实战训练营

讲师:中电福富特级专家梁敬彬,参与本次课程培训,你将收获:
1. 能编写出较为高效的 SQL;
2. 能解决70%以上的数据库常见优化问题;
3. 能得到老师提供的高效的相关工具和解决方案;
4. 能举一反三,收获不仅仅是 SQL 优化。
现在购票享受8.8折优惠!
----------------------------------------
优惠时间:2019年3月20日前

大会官网>>
  

北京盛拓优讯信息技术有限公司. 版权所有 16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122
中国互联网协会会员  联系我们:huangweiwei@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP