Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

healthcheck makes it fail on wireguard #15

Open
davidzx opened this issue Jun 3, 2023 · 2 comments
Open

healthcheck makes it fail on wireguard #15

davidzx opened this issue Jun 3, 2023 · 2 comments

Comments

@davidzx
Copy link

davidzx commented Jun 3, 2023

hey
i got it working with gluetun, but the Linuxserver[dot]io wireguard container won't work. the natmap container just hangs on the health check. would be nice to be able to turn off the health check, so it might work with other wireguard containers.

@heim3x
Copy link

heim3x commented Aug 7, 2023

You can add this healthcheck to the Wireguard container as a workaround.

    healthcheck:
      test: ["CMD-SHELL", "ip link show wg0 || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 15s

@defconxt
Copy link

defconxt commented Nov 21, 2023

@davidzx is this what you are referencing? I am having the same issue I think.

I see in my gluetun that I am successfully connected to my VPN, also qbittorrent is successfully connected on 8080 and I am able to reach the interface, but then I exec into the qbittorrent-natmap container and its spamming this below, even though the gluetun container is "healthy". I tried manually running the script there as well and still no luck. Not sure how to fix this.

defcon@plex:~$ sudo docker exec -it bda45870e035 /bin/bash
root@15f8682357a7:/# ls
bin  boot  dev  etc  home  lib  lib32  lib64  libx32  media  mnt  opt  proc  root  run  sbin  srv  start.sh  sys  tmp  usr  var

root@15f8682357a7:/# ./start.sh

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2023-11-21 02:30:45 | Waiting for gluetun healthy state..
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2023-11-21 02:30:48 | Waiting for gluetun healthy state..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants