免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 30343 | 回复: 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?).
复制代码


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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP