Windows 10
Docker 20.10.10, build b485636
Docker 执行命令时出现
error during connect: This error may indicate that the docker daemon is not running.: Get “http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/json”: open //./pipe/docker_engine: The system cannot find the file specified.
出现原因
可能是因为 Docker 没有启动。
如果已经启动了,运行下面命令:
cd "C:\Program Files\Docker\Docker"
.\DockerCli.exe -SwitchDaemon
参考链接: