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

我已遵循Docker CE for

CentOS的安装说明。最初,这可行。在某个时候,系统已重新启动,但现在启动Docker失败。赞赏专家对此事的关注…

systemctl start docker 产生:

docker.service的作业失败,因为控制进程退出并显示错误代码。有关详细信息,请参见“ systemctl status

docker.service”和“ journalctl -xe”。

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无法启动 的全部内容, 来源链接: utcz.com/qa/429130.html

回到顶部