docker启动失败 error="/var/lib/docker/containerd/daemon/io.containerd.snapsho

docker启动失败

 journalctl -xe

查看具体日志

error="/var/lib/docker/containerd/daemon/io.containerd.snapsho
[root@localhost docker]# systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since 二 2020-02-04 03:38:45 CST; 26s ago
     Docs: https://docs.docker.com
  Process: 19716 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
 Main PID: 19716 (code=exited, status=1/FAILURE)

2月 04 03:38:45 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
2月 04 03:38:45 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
2月 04 03:38:45 localhost.localdomain systemd[1]: docker.service failed.
2月 04 03:38:45 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
2月 04 03:38:45 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
2月 04 03:38:45 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
2月 04 03:38:45 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
2月 04 03:38:45 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
2月 04 03:38:45 localhost.localdomain systemd[1]: docker.service failed.
[root@localhost docker]# journalctl -xe
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.overlayfs" error="/var/lib/docker/containerd/daemon/io.containerd.snapsho
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." module=containerd type=io.containerd.metadata.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=warning msg="could not use snapshotter overlayfs in metadata plugin" error="/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." module=containerd type=io.containerd.differ.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." module=containerd type=io.containerd.gc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." module=containerd type=io.containerd.monitor.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." module=containerd type=io.containerd.runtime.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." module=containerd type=io.containerd.grpc.v1
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd-debug.sock" module="containerd/debug"
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd.sock" module="containerd/grpc"
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44+08:00" level=info msg="containerd successfully booted in 0.003811s" module=containerd
2月 04 03:38:44 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:44.916905645+08:00" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thin
2月 04 03:38:45 localhost.localdomain systemd-udevd[19655]: inotify_add_watch(7, /dev/dm-6, 10) failed: No such file or directory
2月 04 03:38:45 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:45.616838520+08:00" level=info msg="devmapper: Creating filesystem xfs on device docker-253:1-135451913-base, mkfs args: [-m crc=0,finobt=0 /dev/mapper/d
2月 04 03:38:45 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:45.618895754+08:00" level=info msg="devmapper: Error while creating filesystem xfs on device docker-253:1-135451913-base: exit status 1"
2月 04 03:38:45 localhost.localdomain dockerd[19716]: time="2020-02-04T03:38:45.618983301+08:00" level=error msg="[graphdriver] prior storage driver devicemapper failed: exit status 1"
2月 04 03:38:45 localhost.localdomain dockerd[19716]: Error starting daemon: error initializing graphdriver: exit status 1
2月 04 03:38:45 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
2月 04 03:38:45 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has failed.
-- 
-- The result is failed.
2月 04 03:38:45 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
2月 04 03:38:45 localhost.localdomain systemd[1]: docker.service failed.
2月 04 03:38:45 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
2月 04 03:38:45 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has finished shutting down.
2月 04 03:38:45 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
2月 04 03:38:45 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.

是因为:mkfs.xfs版本太低,遂更新:

yum update xfsprogs

重启docker服务,正常!

[root@localhost docker]# systemctl restart docker.service

参考地址

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值