Failed to start Docker Application Container Engine问题解决
(2017-12-09 14:12:27)
标签:
dockerfailedtostart |
分类: 学习科研 |
今天遇到很奇怪的问题,apt autoremove的时候出现
Setting up docker.io (1.13.1-0ubuntu1~16.04.2) ...
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded
(/lib/systemd/system/docker.service; enabled; vendor preset:
enabled)
Active: failed (Result:
exit-code) since 六 2017-12-09 14:04:27 CST; 5ms ago
Docs: https://docs.docker.com
Process: 3870 ExecStart=/usr/bin/dockerd -H
fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
Main PID: 3870 (code=exited,
status=1/FAILURE)
12月 09 14:04:26 yingjin-V5 systemd[1]: Starting Docker Application Container Engine...
12月 09 14:04:26 yingjin-V5 dockerd[3870]: time="2017-12-09T14:04:26.793865006+08:00" level=info msg="libcontainerd: new containerd proces...d: 3888"
12月 09 14:04:27 yingjin-V5 dockerd[3870]: time="2017-12-09T14:04:27.852603302+08:00" level=error msg="[graphdriver] prior storage driver ...pported"
12月 09 14:04:27 yingjin-V5 dockerd[3870]: Error starting daemon: error initializing graphdriver: driver not supported
12月 09 14:04:27 yingjin-V5 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
12月 09 14:04:27 yingjin-V5 systemd[1]: Failed to start Docker Application Container Engine.
12月 09 14:04:27 yingjin-V5 systemd[1]: docker.service: Unit entered failed state.
12月 09 14:04:27 yingjin-V5 systemd[1]: docker.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package docker.io (--configure):
subprocess installed post-installation script
returned error exit status 1
Errors were encountered while processing:
解决办法的话,删除/var/lib/docker/下面所有内容就可以了,重启docker服务即可。
重启后/var/lib/docker/里面的数据会重新生成。
参考自:
blog.csdn.net/u012891504/article/details/52857682
blog.csdn.net/u010472499/article/details/54929678
Setting up docker.io (1.13.1-0ubuntu1~16.04.2) ...
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
12月 09 14:04:26 yingjin-V5 systemd[1]: Starting Docker Application Container Engine...
12月 09 14:04:26 yingjin-V5 dockerd[3870]: time="2017-12-09T14:04:26.793865006+08:00" level=info msg="libcontainerd: new containerd proces...d: 3888"
12月 09 14:04:27 yingjin-V5 dockerd[3870]: time="2017-12-09T14:04:27.852603302+08:00" level=error msg="[graphdriver] prior storage driver ...pported"
12月 09 14:04:27 yingjin-V5 dockerd[3870]: Error starting daemon: error initializing graphdriver: driver not supported
12月 09 14:04:27 yingjin-V5 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
12月 09 14:04:27 yingjin-V5 systemd[1]: Failed to start Docker Application Container Engine.
12月 09 14:04:27 yingjin-V5 systemd[1]: docker.service: Unit entered failed state.
12月 09 14:04:27 yingjin-V5 systemd[1]: docker.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package docker.io (--configure):
Errors were encountered while processing:
解决办法的话,删除/var/lib/docker/下面所有内容就可以了,重启docker服务即可。
重启后/var/lib/docker/里面的数据会重新生成。
rm -rf
/var/lib/docker/*
systemctl start docker
参考自:
blog.csdn.net/u012891504/article/details/52857682
blog.csdn.net/u010472499/article/details/54929678