Assigning Docker containers to specific physical port

I think what nerdatwork linked should cover the question, but I had explored more regarding the Docker ports here: https://forum.storj.io/t/understanding-the-docker-port-publishes