Docker pull connection errors

  • Hello together,


    I have some issues with reacreating/pull new images in Docker and I think it could be connected to one of the following things I did before:


    I installed and used PiHole but deinstalled it again, maybe i messed up some DNS addresses in some settings and now its pointing to the wrong nameserver.
    I accidentally ones pressed delete Docker in the OMV GUI instead of restart Docker, I reinstalled it and Docker Containers were still there.


    Now if I want to recreate a Container, it always gives connection failed code 400. Pulling new images also don't work.


    Would be highly appreciated if someone could help me out, let me know if you need any further details.

    Thanks :)

    EDIT: I have already checked the DNS Server address under Network/Interfaces and its the correct one.

    Einmal editiert, zuletzt von aditunoe () aus folgendem Grund: Add information:

  • I don't know what the right DNS entry is, but as far as I know, docker only uses the server's DNS entries to find the docker server, but if your DNS server does not have those entries, you will not find the image since the hub can't be found.


    Try setting the interface DNS to one of the big internet ones, such as google 8.8.8.8 and 8.8.4.4

  • I have never seen an error output like that. what are you running on? If this is a RPi someone that has more experience with them may be able to help better.


    That said the error 409, according to what I am seeings is related to docker not being able to remove a container.


    perhaps you should try some docker pruning (cleanup)


    docker ps -a you will get a list of all containers - running and stopped and the images they are based on

    docker container prune you can delete all stopped containers

    docker image prune you can delete all unused images

  • I can update that I fixed the issue, for people who may I counter something similar:


    • So Tipp that 409 is meaning the container couldn’t be deleted or started, let me check the logs of this specific docker container (Vaultwarden). Turns out they added a new ENV that need to be added when using a docker volume as the storage: I_REALLY_WANT_VOLATILE_STORAGE=true
    • This didn’t fix the initial problem, where I couldn’t pull images, which gave me a 400 error. Turns out after I update everything in the OMV update Manager in the GUI, it worked again. If it was a update or just the restart of the daemon I don’t know, but it works 👍

    hope I can maybe help someone encountering similar issues.

Jetzt mitmachen!

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