Windows系统安装Docker遇到error during connect: In the default daemon configuration on Windows, the docker

2023-02-23 09:51:52 浏览数 (1)

Windows系统安装Docker遇到

error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get http:////./pipe/docker_engine/v1.24/containers/json: open //./pipe/docker_engine: The system cannot find the file specified.

解决方案一:打开cmd命令行,执行如下命令–测试可行

cd “C:Program FilesDockerDocker”

DockerCli.exe -SwitchDaemon

重启一下Docker

解决方案二:

在Docker客户端设置里面General里面将 Use Docker Compose V2勾上即可,重启Docker

未经允许不得转载:肥猫博客 » Windows系统安装Docker遇到error during connect: In the default daemon configuration on Windows, the docker

0 人点赞