VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
Cannot use the gluetun service in same docker file according to the documents.
Is this urgent?
[x] Yes
[ ] No
What VPN service provider are you using?
[x] PIA
[ ] Mullvad
[ ] Windscribe
[ ] Surfshark
[ ] Cyberghost
What's the version of the program?
See the line at the top of your logs
gluetun | Running version latest built on 2020-07-17T01:17:21Z (commit fab9939)
What are you using to run the container?
[ ] Docker run
[x] Docker Compose
[ ] Kubernetes
[ ] Docker stack
[ ] Docker swarm
[ ] Podman
[ ] Other:
Extra information
✅ docker run with network works
docker run --rm --network=container:gluetun alpine:3.12 wget -qO- "https://ifconfig.co/ip"
XX.XXX.XXX.XX
✅ container:gluetun works from another file
# save as curl.yml and run using this command
# docker-compose -f curl.yml up
version: "3.7"
services:
curl:
image: byrnedo/alpine-curl
command: /usr/bin/curl -s "http://ifconfig.co/ip"
network_mode: container:gluetun
➜ docker-compose up
ERROR: for curl Cannot start service curl: network services:gluetun not found
ERROR: Encountered errors while bringing up the project.
❌ Setting network_mode on gluetun service does not work
Cannot use the gluetun service in same docker file according to the documents.
Is this urgent?
What VPN service provider are you using?
What's the version of the program?
See the line at the top of your logs
What are you using to run the container?
Extra information
✅ docker run with network works
✅ container:gluetun works from another file
❌ using same compose file fails.
Log:
❌ Setting network_mode on gluetun service does not work
Host OS: Ubuntu 20.04 LTS