Page 2 of 2

[SOLVED] Re: Docker image not working properly

Posted: Mon Mar 10, 2025 4:27 pm
by JLC_UK
After some fiddling around with my "docker run" command, I found that adding "--net=host" to the command seemed to fix the issue. All of a sudden the torrents that had stuck started downloading.

So it seems that the port mapping between the container and the host is the issue somewhere. Despite my mapping what I thought

Code: Select all

  -p 8112:8112 -p 58846:58846 -p 58946:58946/udp -p 6881:6881 -p 6881:6881/udp \
was correct, but clearly not.

Since it all seems to be working now, I'll call it fixed.

Re: Docker image not working properly

Posted: Mon Mar 10, 2025 5:08 pm
by ambipro
Using host networking basically removes the docker internal network entirely, giving your container direct access to the network rather than a internal docker network with 172 IPs, this leads me to believe that you have something else misconfigured or set to cause problems with docker.

Do you have other containers functioning fine without the host networking mode?