
錯誤提示
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.
解決辦法
在cmd 窗口中執(zhí)行如下命令
cd C:\Program Files\Docker\Docker
DockerCli.exe -SwitchDaemon
重新打開一個cmd窗口,然后再次執(zhí)行docker pull 得相關(guān)命令,一切正常
原因分析
Especially on windows machine when you see the above error after a docker update, try the above commands.
It appears like the Docker Desktop UI may indicate that you are already using Linux Containers, but the update may have messed up that setting.
Running the above commands will set to Linux Containers and there after you can work happily.
翻譯一下:
特別是在windows machine上,當(dāng)您在docker更新后看到上述錯誤時,請嘗試上述命令。
看起來Docker Desktop UI可能表明您已經(jīng)在使用Linux容器,但更新可能會弄亂該設(shè)置。文章來源:http://www.zghlxwxcb.cn/news/detail-481408.html
運行上述命令將設(shè)置為Linux容器,然后您就可以愉快地工作了。文章來源地址http://www.zghlxwxcb.cn/news/detail-481408.html
到了這里,關(guān)于Windows 上 執(zhí)行docker pull命令 提示:The system cannot find the file specified.的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!