DNS request timed out for index.docker.io during pull/push/search

Expected behavior

docker search hello should return results

Actual behavior

docker search hello timed out.

Error response from daemon: Get https://index.docker.io/v1/search?q=hello&n=25: dial tcp: lookup index.docker.io on 192.168.65.1:53: read udp 192.168.65.2:33469->192.168.65.1:53: i/o timeout

Information

  • A diagnostic was uploaded with id: BAA3D38B-3322-42DF-98B2-CDEA5FD4A8C1/2016-06-21_13-08-35
  • Windows Beta 1.11 and Windows Beta 1.12.0-rc2-beta16

Steps to reproduce the behavior

docker search hello or even just docker run hello-world

Huh, I was crafting my post while you posted this. You may try something that solved a similar issue for me. Basically, it seems that Docker only requests DNS lookups from the first entry in your network connection’s DNS server config (at least on Mac). Try to see if that server is up.

@cdesserich Thanks for the response! I disabled and enabled the network adapter and it worked!