How do I assign a port mapping to an existing Docker container?

I’m also interested in this problem. As @Thasmo mentioned, port forwardings can be specified ONLY with docker run (and docker create) command. Other commands, docker start does not have -p option and docker port only displays current forwardings. To add port forwardings, I always follow these steps, stop running container docker stop test01 commit the … Read more