windows 10 wsl 环境 docker 无法正常启动 -The system cannot find the file specified

错误信息:

error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect:

Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json": open //./pipe/docker_engine: The system cannot find the file specified.

 

解决方法:

在Powershell下运行
Net stop com.docker.service Net start com.docker.service

来源:https://github.com/docker/for-win/issues/4495

posted @ 2023-06-08 16:26  Setli  阅读(656)  评论(0编辑  收藏  举报