Problems trying to fetch new containers

  • My docker containers are running but tab "Docker images repo" is empty and when I try to pull a new image I get.



    And when I check the logs I can see that dockerd have issues:


    Code
    dockerd[1342]: time="2022-06-17T12:30:49.847154455+02:00" level=warning msg="Error getting v2 registry: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:48982->[::1]:53: read: connection refused"
    dockerd[1342]: time="2022-06-17T12:30:49.848723952+02:00" level=info msg="Attempting next endpoint for pull after error: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:48982->[::1]:53: read: connection refused"
    dockerd[1342]: time="2022-06-17T12:30:49.849600480+02:00" level=error msg="Handler for POST /v1.40/images/create returned error: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:48982->[::1]:53: read: connection refused"


    Have there been a change in docker? I checked if there was a new plugin update, but found none.

    Any ideas on how to proceed?

  • This is usually, a symptom of bad DNS resolution or running behind a proxy.

    Check/change your DNS to 8.8.8.8 and see if it fixes it.


    You can also try in CLI:

    ping -c 5 google.com

    ping -c 5 registry-1.docker.io


    A simple google search would tell you this much:

    Error getting v2 registry: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io - Search (bing.com)

  • Thanks. I normally use 1.1.1.1 as DNS and that usually is a stable dns.
    Switched to Google dns and get the same issue (but Google work)


    It might be as simple as registry-1.docker.io being down currently.
    I tried from two remote servers I have with the same issue.


    So I suspect I just have to wait it out...

  • Thanks.

    Yes it is probably about time to do that.

    I am a bit hesitant as it usually goes sideways, giving me a lot of problems before it is up and running again.

    But if I go to 6 now, that might give me peace for a couple of more years to come...

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!