Docker错误!Docker守护程序未运行 [英] Docker Error ! Docker daemon is not running
问题描述
当尝试运行 docker run -d -p 80:80 docker/getting-started 时,它将显示错误Windows 10专业版
when Trying to run docker run -d -p 80:80 docker/getting-started it will show an error windows 10 pro
docker:连接期间出错:发布http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/create:打开//.//pipe/docker_engine:系统找不到指定的文件.在Windows上的默认守护程序配置中,必须将docker客户端提升运行才能进行连接.该错误也可能表明Docker守护程序未运行.请参阅"docker run --help".
docker: error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/create: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running. See 'docker run --help'.
推荐答案
可以尝试以下任何步骤.
Can try any of the below steps.
-
执行以下命令
execute the below command
cd"C:\ Program Files \ Docker \ Docker"
./DockerCli.exe -SwitchDaemon
Docker重置为出厂默认值
Docker Reset to Factory Defaults
这篇关于Docker错误!Docker守护程序未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!