-
完整出错信息如下
failed to start daemon: Error initializing network controller: Error creating default "bridge" network: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT: iptables: No chain/target/match by that name. -
原由
2.1 相关内核模块未使能(CONFIG_NETFILTER_XT_MATCH_CONNTRACK)
2.2 相关内核模块未加载到内核中(insmod xt_conntrack.ko或modprobe xt_conntrack) -
如何解决?
使能对应的内核模块并加载到内核中
$ sudo insmod net/netfilter/xt_addrtype.ko
$ sudo insmod net/netfilter/xt_conntrack.ko
$ sudo insmod drivers/net/veth.ko