[root@db1 docker]# /data/kube/bin/dockerd WARN[0000] The "graph" config file option is deprecated. Please use "data-root" instead. WARN[2021-12-11T21:16:07.917969366+08:00] could not change group /var/run/docker.sock to docker: group docker not found WARN[2021-12-11T21:16:07.942745757+08:00] failed to load plugin io.containerd.snapshotter.v1.btrfs error="path /data/kube/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" WARN[2021-12-11T21:16:07.944020734+08:00] failed to load plugin io.containerd.snapshotter.v1.aufs error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found.\n": exit status 1" WARN[2021-12-11T21:16:07.944275670+08:00] failed to load plugin io.containerd.snapshotter.v1.zfs error="path /data/kube/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter" WARN[2021-12-11T21:16:07.944314186+08:00] could not use snapshotter btrfs in metadata plugin error="path /data/kube/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" WARN[2021-12-11T21:16:07.944324941+08:00] could not use snapshotter aufs in metadata plugin error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found.\n": exit status 1" WARN[2021-12-11T21:16:07.944333098+08:00] could not use snapshotter zfs in metadata plugin error="path /data/kube/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter" WARN[2021-12-11T21:16:09.131994686+08:00] Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: could not insert 'bridge': Key was rejected by service modprobe: ERROR: could not insert 'br_netfilter': Key was rejected by service insmod /lib/modules/3.10.0-514.el7.x86_64/kernel/net/bridge/bridge.ko insmod /lib/modules/3.10.0-514.el7.x86_64/kernel/net/bridge/bridge.ko , error: exit status 1 Error starting daemon: Error initializing network controller: Error creating default "bridge" network: package not installed
排查
相关信息
1 2 3 4 5 6
$ dockerd --version Docker version 18.09.3, build 774a1f4 $ uname -a Linux db1 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core)
处理过程
先看下是不是把内核模块禁止了,发现没禁止,手动加载也报错
1 2 3 4
$ grep -r black /etc/modprobe.d/*.conf $ modprobe overlay $ modprobe bridge modprobe: ERROR: could not insert 'bridge': Key was rejected by service