docker 桌面版报错error during connect: This error may indicate that the docker daemon is not running.:

958 阅读1分钟

桌面版下载地址:download.csdn.net/download/ta…

官方下载地址: desktop.docker.com/win/stable/…

官方文档地址:docs.docker.com/docker-for-…

桌面版安装后命令行报错

error during connect: This error may indicate that the docker daemon is not running.: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engine: The system cannot find the file specified.

error during connect: This error may indicate that the docker daemon is not running.: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json: open //./pipe/docker_engine: The system cannot find the file specified.

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.

error during connect: This error may indicate that the docker daemon is not running.: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/search?limit=25&term=nginx: open //./pipe/docker_engine: The system cannot find the file specified.

解决办法

CMD命令行

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