桌面版下载地址:https://download.csdn.net/download/tangcv/14027826

官方下载地址: https://desktop.docker.com/win/stable/Docker%20Desktop%20Installer.exe

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

桌面版安装后命令行报错

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

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐