Open dcbell opened 3 days ago
Sun Oct 13 19:15:28 UTC 2024: Shutting down WireGuard
I think that message is only shown when the container is brought down by Docker itself. Without any custom scripts, I don't think a shutdown can be triggered from within the container itself.
It looks like the restart is happening about 90s after the container starts. It might just be a conincidence, and I'm not sure how the timers work, but thats roughly the healthcheck's interval * retries
value. It also looks like the LOCAL_NETWORK
range overlaps with PIA's dns servers (10.0.0.243,10.0.0.242
) which can cause lookup issues, which might cause the healthcheck ping to fail. You might be able to work around it by setting something like VPNDNS=1.1.1.1
to use another dns server.
I don't suppose there's anything in your setup that would restart a container after a failed healthcheck? Nothing else comes to mind at the moment, apart from that the restart is likely being trigged from outside the container itself.
Starting today my VPN won't stay connected. When looking at the docker logs, I see it make a connection, get to the Adding route step, then about 2 minutes later it says "Shutting down WireGuard" and starts over again.
Log:
Compose file (relevant portion):