docker在centos7启动出现错误

[root@izbp1iwt8d75s3t770dd1zz opt]# systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
[root@izbp1iwt8d75s3t770dd1zz opt]# systemctl start docker
Job for docker.service failed because start of the service was attempted too often. See "systemctl status docker.service" and "journalctl -xe" for details.
To force a start use "systemctl reset-failed docker.service" followed by "systemctl start docker.service" again.
[root@izbp1iwt8d75s3t770dd1zz opt]# ^C
[root@izbp1iwt8d75s3t770dd1zz opt]# 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 Wed 2018-07-25 10:41:35 CST; 43s ago
     Docs: https://docs.docker.com
  Process: 9775 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
 Main PID: 9775 (code=exited, status=1/FAILURE)

Jul 25 10:41:35 izbp1iwt8d75s3t770dd1zz systemd[1]: Unit docker.service entered failed state.
Jul 25 10:41:35 izbp1iwt8d75s3t770dd1zz systemd[1]: docker.service failed.
Jul 25 10:41:35 izbp1iwt8d75s3t770dd1zz systemd[1]: docker.service holdoff time over, scheduling restart.
Jul 25 10:41:35 izbp1iwt8d75s3t770dd1zz systemd[1]: start request repeated too quickly for docker.service
Jul 25 10:41:35 izbp1iwt8d75s3t770dd1zz systemd[1]: Failed to start Docker Application Container Engine.
Jul 25 10:41:35 izbp1iwt8d75s3t770dd1zz systemd[1]: Unit docker.service entered failed state.
Jul 25 10:41:35 izbp1iwt8d75s3t770dd1zz systemd[1]: docker.service failed.
Jul 25 10:42:01 izbp1iwt8d75s3t770dd1zz systemd[1]: start request repeated too quickly for docker.service
Jul 25 10:42:01 izbp1iwt8d75s3t770dd1zz systemd[1]: Failed to start Docker Application Container Engine.
Jul 25 10:42:01 izbp1iwt8d75s3t770dd1zz systemd[1]: docker.service faile

解决方案

在/etc/docker/daemon.json里面编辑{"storage-driver":"devicemapper"}

你可能感兴趣的:(容器技术(depops))