我是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服务管理器检查其状态。