由于“卷存储元数据库:超时”,Docker无法启动

前端之家收集整理的这篇文章主要介绍了由于“卷存储元数据库:超时”,Docker无法启动前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

我跟着installation instructions of Docker CE for CentOS.最初这个工作.在某些时候系统重新启动,现在启动Docker失败.欣赏专家对这件事的看法……

systemctl启动docker生成

Job for docker.service Failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.

systemctl status docker.service产生:

Apr 21 11:25:23 sec-services-build-1 systemd[1]: Starting Docker Application Container Engine...
Apr 21 11:25:23 sec-services-build-1 dockerd[9693]: time="2017-04-21T11:25:23.370390797+03:00" level=info msg="libcontainerd: prevIoUs instance of containerd still alive (8908)"
Apr 21 11:25:23 sec-services-build-1 dockerd[9693]: time="2017-04-21T11:25:23.382492171+03:00" level=warning msg="overlay: the backing xfs filesystem is formatted without d_type support,which leads to incorrect behavior. Reformat the filesystem with ftype=1 to enable d_type support. Running without d_type support will no longer be supported in Docker 17.12."
Apr 21 11:25:23 sec-services-build-1 dockerd[9693]: time="2017-04-21T11:25:23.382547668+03:00" level=info msg="[graphdriver] using prior storage driver: overlay"
Apr 21 11:25:24 sec-services-build-1 dockerd[9693]: Error starting daemon: error while opening volume store Metadata database: timeout
Apr 21 11:25:24 sec-services-build-1 systemd[1]: docker.service: main process exited,code=exited,status=1/FAILURE
Apr 21 11:25:24 sec-services-build-1 systemd[1]: Failed to start Docker Application Container Engine.
Apr 21 11:25:24 sec-services-build-1 systemd[1]: Unit docker.service entered Failed state.
Apr 21 11:25:24 sec-services-build-1 systemd[1]: docker.service Failed.
最佳答案
从这里:https://github.com/moby/moby/issues/22507

我跑了:

ps axf | grep docker | grep -v grep | awk '{print "kill -9 " $1}' | sudo sh 

然后我可以使用以下命令重启docker:

sudo systemctl start docker

猜你在找的Docker相关文章