docker 启动失败报错:
Failed to start Docker Application Container Engine
journalctl -xe
以上命令也查不出什么错误问题。
查看Linux系统操作日志
(最后200行就可以排查)
tail -200f /var/log/messages
Oct 30 20:03:46 hadoop01 dockerd: time="2022-10-30T20:03:46-07:00" level=warning msg="could not use snapshotter overla yfs in metadata plugin" error="/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs does not suppo rt d_type. If the backing filesystem is xfs, please reformat with ftype=1 to enable d_type support" module="containerd /io.containerd.metadata.v1.bolt"
发现问题了
error="/var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.overlayfs does not suppo
这些原因我们找到了是因为:mkfs.xfs版本太低,遂更新
yum update xfsprogs
然后我在用systemctl restart docker.service 命令
看着上面还是报错,于是我想着systemctl status docker.service命令
用查看一下状态看看服务已经启动起来了。
systemctl restart docker.service 重启命令也正常了!!