Raspberry + Docker = Unable to resolve host name

  • Hi All,


    I have a fresh install of OMV5 on Rpi4.

    I used webUI to install Docker and Portainer.


    I am trying to install:

    haugene/docker-transmission-openvpn


    All the time I am getting:

    Could not resolve host: http://www.privateinternetaccess.com


    For the example:


    Code
    docker run --rm -it \
      -e OPENVPN_PROVIDER=PIA \
      -e OPENVPN_CONFIG=france \
      -e OPENVPN_USERNAME=donald \
      -e OPENVPN_PASSWORD=duck \
      haugene/transmission-openvpn

    This example should fail or exit but definately not with Could not resolve host as I tried on windows machine.


    Please help

  • ryecoaaron

    Hat das Thema freigeschaltet.
  • Can be closed. This was the fault of Alpine 3.13 which is included in everything those days.

    Picking older version of haugene/docker-transmission-openvpn solved my issues.

  • macom

    Hat das Label gelöst hinzugefügt.
  • Hi Everyone,


    I have a very similar problem. I also have a fresh install of OMV5 (5.10.17-v7l+) on Rpi4. I used webUI to install Docker and Portainer.


    I installed nzbget (docker-compose in Portainer):

    https://hub.docker.com/r/linuxserver/nzbget

    and I am getting an error in nzbget: "Could not resolve hostname ...: ErrNo -3, Try again".

    I am a noob regarding OMV and Docker, it's seems the DNS settings in OMV are not correctly translated to Docker. Any ideas how to fix it?

    From OMV, I can ping both google.com and 8.8.8.8.

    I added DNS servers via webUI.


    --

    cat /etc/resolv.conf

    nameserver 1.1.1.1

    nameserver 1.0.0.1


    ls -al /etc/resolv.conf

    lrwxrwxrwx 1 root root 32 May 13 13:53 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf

    --


    eXelium: what do you mean by "This was the fault of Alpine 3.13 which is included in everything those days.~" ?

Jetzt mitmachen!

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