Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)解决方案
?docker.service - Docker Application Container EngineLoaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)Active: failed (Result: start-limit) since Wed 2...
?docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Wed 2019-09-11 04:16:56 EDT; 1min 15s ago
Docs: https://docs.docker.com
Process: 11412 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
Main PID: 11412 (code=exited, status=1/FAILURE)
Sep 11 04:16:56 m2_134 systemd[1]: docker.service: main process exited, code=exited,...URE
Sep 11 04:16:56 m2_134 systemd[1]: Failed to start Docker Application Container Engine.
Sep 11 04:16:56 m2_134 systemd[1]: Unit docker.service entered failed state.
Sep 11 04:16:56 m2_134 systemd[1]: docker.service failed.
Sep 11 04:16:56 m2_134 systemd[1]: docker.service holdoff time over, scheduling restart.
Sep 11 04:16:56 m2_134 systemd[1]: Stopped Docker Application Container Engine.
Sep 11 04:16:56 m2_134 systemd[1]: start request repeated too quickly for docker.service
Sep 11 04:16:56 m2_134 systemd[1]: Failed to start Docker Application Container Engine.
Sep 11 04:16:56 m2_134 systemd[1]: Unit docker.service entered failed state.
Sep 11 04:16:56 m2_134 systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
查看以下文件格式正常或者文件是否存在
cat /etc/docker/daemon.json
有daemon.json确保json格式正常,没有则创建
{
"storage-driver"
:
"devicemapper"
}
修改正确后正常
更多推荐
所有评论(0)