Docker warning: failed to get default registry endpoint from daemon

On Windows 10, when I call a docker command:

docker pull mongo:windowsservercore

  • How to send a password to `sudo` from a Dockerfile
  • Run PHPUnit by terminal with Docker
  • Running Scrapy in Docker Container
  • How to access docker service with docker private ip and port from different host in aws without port forwarding or using docker host ip
  • “docker run hello-world” through a proxy tunnel
  • docker volume container strategy
  • I get the following output:

    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/

    When I 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

  • docker and DNS issues
  • ECONNREFUSED 127.0.0.1:3306 to mysql container inside jenkins
  • Docker: LetsEncrypt for development of “Https everywhere”
  • How to view php logs information with php docker container?
  • how to permanently set environment variable for boot2docker
  • How to remove multiple docker images with the same imageID?
  • One Solution collect form web for “Docker warning: failed to get default registry endpoint from daemon”

    You probably use Docker for Windows OpenSource solution to have Docker running on Windows 10.
    In that case, the reason is that your docker CLI cannot work without daemon.
    Run the Docker daemon (you probably have an icon on your desktop) and once it reports that it is ready, try again your commands.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.