this post was submitted on 21 Nov 2023
5 points (100.0% liked)
Linux 101 stuff. Questions are encouraged, noobs are welcome!
1086 readers
1 users here now
Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Docker has 4 different types of network modes. Bridge, Host, Overlay, Macvlan. If you want your container to have an external IP your should use Host.
https://docs.docker.com/network/network-tutorial-host/