运行Docker命令时出现连接错误

时间:2020-05-31 19:46:26

标签: docker

运行docker images时出现错误

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/images/json:
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.

我在Windows 10 Home上并尝试安装/重新安装Docker,但我一直收到错误消息。一个小时前一切正常!

1 个答案:

答案 0 :(得分:1)

您可以检查您的VM是否在docker-machine下运行吗?您可以运行以下命令:

docker-machine ls

如果尚未安装docker-machine,请安装它。

参考:-https://docs.docker.com/toolbox/toolbox_install_windows/

注意 :-确保已启用BIOS虚拟化。

相关问题