Skip to main content

Docker Success Center

The Docker enterprise customer portal.

Docker, Inc.

Error response from daemon when trying to log into Docker Cloud

Issue

Receiving an error when trying to log into Docker Cloud using CLI:

$ docker login
Error response from daemon: Get https://index.docker.io/v1/users/: dial tcp: i/o timeout

Diagnostics

  • Try pinging index.docker.io:

$ ping index.docker.io
--- us-east-1-amazonaws.com ping statistics --- 
4 packets transmitted, 0 received, 100% packet loss, time 3053ms 

Resolution

  • Configured network settings to use the Google IP addresses 8.8.8.8 and 8.8.4.4 as the DNS servers.
  • Restart Docker daemon.