我是 Docker 的新手,在 cmd 中编写了 docker 版本之后
我遇到了这个错误:
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.
编辑:操作系统是 Windows。
最佳答案
在 Linux 上,您应该通过 systemctl status docker.service
检查守护进程状态,然后:
sudo systemctl enable docker.service
sudo systemctl enable docker.socket
sudo systemctl start docker.socket
sudo systemctl start docker.service
在 Windows 上,您应该通过 Windows 服务管理器 检查其状态。
关于windows - 这个错误可能表明 docker 守护进程没有运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73552006/