admin管理员组文章数量:1550366
不管执行什么命令都提示下面错误
PS C:\Users\admin> docker ps
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.
PS C:\Users\admin> docker images
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.
根据网上提示
cd "C:\Program Files\Docker\Docker"
然后在
cd "C:\Program Files\Docker\Docker"
在切换过程中弹出
解决报错
更加报错提示,猜测可能是我们使用的wsl2版本老了,需要我们自己手动更新一下,我们根据提示去微软官网下载最新版的wsl2安装后即可正常打开
下载地址
https://docs.microsoft/zh-cn/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package
安装 完更新包,问题解决,使命可以正常使用
本文标签: connectErrorDockerrunningDaemon
版权声明:本文标题:Docker 使用 error during connect: This error may indicate that the docker daemon is not running 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1727245701a1104602.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论