连接期间出错:获取http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info [英] error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info

查看:139
本文介绍了连接期间出错:获取http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

系统信息:
Windows 10专业版64位

System info: Windows 10 pro 64 bit

C:\WINDOWS\system32> docker --version

C:\WINDOWS\system32>docker --version

Docker版本18.06.1-ce,构建e68fc7a

C:\WINDOWS\system32> docker信息

C:\WINDOWS\system32>docker info

连接期间出错:获取 http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info :打开//.//pipe/docker_engine:系统找不到指定的文件。在Windows的默认守护程序配置中,必须提升docker客户端运行以进行连接。此错误也可能表明docker守护进程未运行。

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

C:\WINDOWS\system32> docker pull hello-world

C:\WINDOWS\system32>docker pull hello-world

使用默认标记:最新

警告:无法从守护程序获取默认注册表端点(连接期间出错:获取: http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info :open //.//pipe/docker_engine:系统找不到指定的文件,在Windows的默认守护程序配置中,必须提升docker客户端运行才能连接。此错误也可能表明docker守护程序是没有运行。)。使用系统默认值:在操作期间 https://index.docker.io/v1/
错误connect:发布 http:// %2F%2F。%2Fpipe%2Fdocker_engine / v1.38 / images / create?fromImage = hello-world& tag = latest :打开//.//pipe/docker_engine:系统找不到指定的文件。在Windows的默认守护程序配置中,必须提升docker客户端运行以进行连接。此错误也可能表明docker守护进程未运行。

Warning: failed to get default registry endpoint from daemon (error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.). Using system default: https://index.docker.io/v1/ error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/images/create?fromImage=hello-world&tag=latest: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

推荐答案

您可以以管理员身份运行Shell。运行以下代码

You can powerShell as admin. Run follow this code

cd "C:\Program Files\Docker\Docker"./DockerCli.exe -SwitchDaemon

在Powershell中,高权限访问解决了我的问题。

In Powershell elevated access solved my issue.

这篇关于连接期间出错:获取http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆