I am creating docker containers inside my java application (using docker-java). I want to make the containers (all from the same image) accessible for the host.
Preferably all the containers listen on the same port, thus their IP address needs to change.
Note after I start the containers I connect them to a docker network (providing this information just in case).