无法连接到码头工人

时间:2020-02-14 05:38:07

标签: docker

当我在命令提示符逐步执行问题中执行docker container lsdocker version之类的docker命令时

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

如何解决此问题?

2 个答案:

答案 0 :(得分:0)

检查docker服务器是否正在运行,请尝试重新启动它或从任务管理器中将其杀死,然后重新启动。

答案 1 :(得分:0)

您正在使用的操作系统,需要检查是否处于活动状态的docker状态。