debian9 docker-ce could not insert 'bridge':启动失败问题

Created: March 7, 2019, 8:40 a.m. Updated: March 7, 2019, 8:41 a.m.
# dockerd-ce 
INFO[2019-03-07T16:30:44.051541919+08:00] parsed scheme: "unix"                         module=grpc
INFO[2019-03-07T16:30:44.051617602+08:00] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2019-03-07T16:30:44.051662535+08:00] parsed scheme: "unix"                         module=grpc
INFO[2019-03-07T16:30:44.051678585+08:00] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2019-03-07T16:30:44.051825073+08:00] ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0  <nil>}]  module=grpc
INFO[2019-03-07T16:30:44.051990722+08:00] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2019-03-07T16:30:44.052076974+08:00] pickfirstBalancer: HandleSubConnStateChange: 0xc42003bb90, CONNECTING  module=grpc
INFO[2019-03-07T16:30:44.052250467+08:00] pickfirstBalancer: HandleSubConnStateChange: 0xc42003bb90, READY  module=grpc
INFO[2019-03-07T16:30:44.052678400+08:00] ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0  <nil>}]  module=grpc
INFO[2019-03-07T16:30:44.052783824+08:00] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2019-03-07T16:30:44.052884843+08:00] pickfirstBalancer: HandleSubConnStateChange: 0xc42003be40, CONNECTING  module=grpc
INFO[2019-03-07T16:30:44.053329948+08:00] pickfirstBalancer: HandleSubConnStateChange: 0xc42003be40, READY  module=grpc
INFO[2019-03-07T16:30:44.053900792+08:00] [graphdriver] using prior storage driver: overlay2 
INFO[2019-03-07T16:30:44.056829330+08:00] Graph migration to content-addressability took 0.00 seconds 
WARN[2019-03-07T16:30:44.057003388+08:00] Your kernel does not support swap memory limit 
WARN[2019-03-07T16:30:44.057060377+08:00] Your kernel does not support cgroup rt period 
WARN[2019-03-07T16:30:44.057083458+08:00] Your kernel does not support cgroup rt runtime 
INFO[2019-03-07T16:30:44.057443672+08:00] Loading containers: start.                   
WARN[2019-03-07T16:30:44.088157448+08:00] Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: could not insert 'bridge': Unknown symbol in module, or unknown parameter (see dmesg)
modprobe: ERROR: could not insert 'br_netfilter': Unknown symbol in module, or unknown parameter (see dmesg)
insmod /lib/modules/4.9.0-8-amd64/kernel/net/llc/llc.ko 
insmod /lib/modules/4.9.0-8-amd64/kernel/net/llc/llc.ko 
, error: exit status 1 
INFO[2019-03-07T16:30:44.123540385+08:00] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address 
INFO[2019-03-07T16:30:44.156642670+08:00] stopping event stream following graceful shutdown  error="<nil>" module=libcontainerd namespace=moby
Error starting daemon: Error initializing network controller: Error creating default "bridge" network: package not installed

解决方式

# apt install bridge-utils