Hello,
Double-check the network_mode
Configuration : Ensure that the network_mode: "container:gluetun"
line is correctly placed under the other docker compose file service and that there are no typos or formatting issues.
Logs for Clues : Checking logs can often provide insights into what might be going wrong. You can view the logs for both containers using:
I do not provide any support for anything to do with torrents.
Instead of Transmission you can setup another docker compose:
version: '3.8'
services:
test-container:
image: alpine
container_name: test-container
network_mode: "container:gluetun"
command:
- sh
- -c
- |
apk add --no-cache curl &&
while true; do sleep 3600; done
restart: unless-stopped
Testing External IP Address
To check the external IP address seen by the test-container
(which should be the IP address provided by your VPN service via gluetun
), run:
docker exec test-container curl -s http://ipecho.net/plain; echo
Testing DNS Resolution
You might also want to verify that DNS resolution is working correctly through the VPN. You can do so by resolving a well-known domain name to its IP address:
docker exec test-container nslookup google.com
or using curl
to access a website:
docker exec test-container curl -sI https://www.google.com | head -n 1