运行systemctl status docker.service报错如下:
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2020-01-10 03:51:35 PST; 12s ago
Docs: https://docs.docker.com
Process: 28228 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 28228 (code=exited, status=1/FAILURE)
Jan 10 03:51:33 localhost.localdomain systemd[1]: docker.service failed.
Jan 10 03:51:35 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
Jan 10 03:51:40 localhost.localdomain systemd[1]: start request repeated too quickly for docker...ice
Jan 10 03:51:40 localhost.localdomain systemd[1]: Failed to start Docker Application Container ...ne.
Jan 10 03:51:40 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Jan 10 03:51:40 localhost.localdomain systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
原因是mkfs.xfs版本太低,更新即可:
yum update xfsprogs
systemctl restart docker.service
来源:CSDN
作者:937181272
链接:https://blog.csdn.net/qq_38636133/article/details/103930084