I was wondering is there a way for me to access a Docker container from a client machine via a static IP instead of having to enter the Docker host’s IP with the forwarded port?
Currently I have a client virtual machine and a server virtual machine running Docker with an Apache container, and I can access the basic Hello World site I have set up if I open a browser (or curl from the client’s command line) and direct it to the server’s IP address with the aforementioned forwarded port.
I’m fairly new to Linux and containerization as a whole, so delete this if this is way out of line to be asking.