error during connect: this error may indicate that

docker技术 / 79人浏览 / 0人评论

最近新入手了一台HUAWEI的本子,在安装DAOCKER配置的时候报这个错误,提示要升级“wsl”,网上看了下资料,跟着升级了一下这个东西

报错内容:

D:\devops>docker pull nginx:latest
error during connect: this error may indicate that the docker daemon is not running: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=nginx&tag=latest": open //./pipe/docker_engine: The system cannot find the file specified.

报错原因及解决方案

wsl 版本过老,执行以下命令进行更新版本。

wsl --update

安装结果:

D:\devops>wsl --update
正在安装: 适用于 Linux 的 Windows 子系统
已安装 适用于 Linux 的 Windows 子系统。

注意:要重启后才能生效!

评论列表

还没有人发表评论

发表评论 取消回复