Closed bricha5 closed 2 months ago
@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:
Which scripts are you referring to? Can you share them? How do you run your container?
I'll try my best. I ran the following in command prompt:
docker pull qmcgaw/gluetun
Then I went there: setup/providers
Then I ran: # OpenVPN docker run -it --rm --cap-add=NET_ADMIN -e VPN_SERVICE_PROVIDER=mullvad \ -e VPN_TYPE=openvpn -e OPENVPN_USER=[my id number] \ -e SERVER_CITIES=amsterdam qmcgaw/gluetun
And that's it. After that, I'm seeing a new container in portainer, which work just fine as a VPN as intented, but it will only exist until I shut down the command prompt window on my computer. Obviously, my goal is for it to be running 24/7. I'm new to all of this maybe I'm missing a few steps that weren't included in the repo.
Thanks in advance!
Try "docker run -d" instead of "-it --rm" -d runs the container in the background.
Omg that worked! Thank you very much!
Thanks @frepke!
@bricha5 -d
stands for daemon so it runs in the background. You can access its logs with docker logs <container-name>
, stop it with docker stop <container-name>
and remove it with docker rm <container-name>
Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.
This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.
Is this urgent?
None
Host OS
No response
CPU arch
None
VPN service provider
Mullvad
What are you using to run the container
docker run
What is the version of Gluetun
2024-04-08T07:43:05.096Z
What's the problem π€
I run every scripts on my windows pc's command prompt. Everything works, but I can't close the command prompt window, the whole container disappear. I'm new to this, so there must be something I do wrong.
Share your logs (at least 10 lines)
Share your configuration
No response