Docker 出现 This error may also indicate that the docker daemon is not running.

问题描述

Docker使用过程中出现错误

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/containers/json?all=1: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

这个问题好坑,找了好久都没有解决办法,卸载重装以后还是不行。

注:卸载后将会删除所有镜像及虚拟机容器。

解决办法

在 cmd.exe 中执行,开启守护进程即可。

cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注