Docker警告:无法从守护程序获取默认注册表端点 [英] Docker warning: failed to get default registry endpoint from daemon

查看:559
本文介绍了Docker警告:无法从守护程序获取默认注册表端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 10上,当我调用docker命令时:

On Windows 10, when I call a docker command:

docker pull mongo:windowsservercore

我得到以下输出:

Warning: failed to get default registry endpoint from daemon (error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/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/

当我 docker-machine create default

(default) Waiting for an IP...
Error creating machine: Error in driver during machine creation: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded


推荐答案

我在Windows 10 Pro上为Windows运行Docker时遇到相同的错误。解决方案是打开Docker设置并打开Daemon。右键单击任务栏图标,然后选择设置。然后,根据下面的图像打开守护程序。

I got the same error running Docker for Windows on Windows 10 Pro. The solution was to open the Docker settings and turn on the Daemon. Right-click on the taskbar icon and choose settings. Then, turn on the daemon per the image below.

这篇关于Docker警告:无法从守护程序获取默认注册表端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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