I want to assign a container a port, so that it gets the same port after every restart of the container.
Example: I have a container, which has an Apache in it. The
Per the docker.io documentation: https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/
$ sudo docker run -p 80:80
Default port redirects can be built into a container with the EXPOSE build command.