?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"
                       
                      }

修改正确后正常

 

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐