Docker pull timeout when ports 80 and 443 are forwarded

  • Hi,
    My OMV has the following private IP 192.168.10.107. In order to implement LetsEncript cert I had to port forward ports 80 and 443 from my router (as you can see on the image)
    forum.openmediavault.org/wsc/index.php?attachment/13063/


    And that is all well and good, the certificate works. But the problem is Docker. When I have these ports forwarded, then when I try to pull image from Docker Hub, a timeout happens. That means that the docker hub cannot communicate back to the OMV. What do I need to change so I can have Let's Encrypt and docker working?


    Thanks

    • Offizieller Beitrag

    You setup your port forward wrong then. Opening two incoming ports shouldn't affect anything outgoing. While docker is hitting https on port 443, that doesn't mean the return port to the client is 443 (and most likely not).

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • You setup your port forward wrong then. Opening two incoming ports shouldn't affect anything outgoing. While docker is hitting https on port 443, that doesn't mean the return port to the client is 443 (and most likely not).

    I've fixed the issue. The problem was that I had opened UDP ports as well as TCP.
    The only thing that was needed was TCP ports 80 and 443.

Jetzt mitmachen!

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