Relatively new docker user here…I am looking to host a development stack on my docker server. I want to have the mysql, phpymyadmin and python images all running as separate containers, but have all of the individual port publishing happen on a singe ip address separate from the docker server.
I created a new bridge network and dropped all 3 containers on it, they have connectivity with each other, but i cannot access the database or phpmyadmin page from my laptop. I understand the easy way to fix this is to port map a random port on my docker server to the internal port of the container, and if I do this for 3306 and 80 it does establish connectivity between my laptop and the ports running inside of the docker container using the docker server’s IP address.
What I am looking to do is establish another IP address on the docker server, lets say my current docker server is 192.168.13.13, I want to be able to use 192.168.13.14 and map 3306 and 80 to that ip address dedicating it to the development stack.
Is that even possible to do?