- 论坛徽章:
- 2
|
CentOS7,安装Docker前,启动firewalld没问题。
安装Docker1.12以后,就会有以下报错。
sudo systemctl status -l firewalld
- 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.
- 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.
- 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?).
- 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?).
- 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?).
- 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?).
- 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?).
- 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.
- 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?).
- 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?).
复制代码
|
|