Open grantland opened 4 years ago
Thanks @grantland, Any particular reason why you wouldn't want to use the host ip ?
I actually didn't know about host ip, so TIL!
I'm pretty new with docker and I had trouble figuring out what host to use. After looking into docker host IPs, it seems like mac/windows has host.docker.internal
and linux has to manually get the host IP via ip -4 route list match 0/0 | cut -d' ' -f3
.
Do you think it would be worthwhile to add that information instead or would most docker users already know this and I somehow missed it?
There's also the ability to just not expose the ports and have your containers on the same network. @grantland that makes it nicer, if you're trying to decrease the number of ports you open on your host machine. 🙂
Add instructions to connect with torrent containers