在 Windows 10 上,当我调用 docker 命令时:
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 上运行 Docker for Windows 时遇到了同样的错误。解决方案是打开 Docker 设置并打开守护程序。右键单击任务栏图标并选择设置。然后,按照下图打开守护程序。
关于windows - docker 警告 : failed to get default registry endpoint from daemon,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43058226/