Expose docker container port to host system
Expose TCP port 80 in the container to port 8080 on the Docker host:
docker run -t my-docker-image -p 8080:80
Expose TCP port 80 in the container to port 8080 on the Docker host:
docker run -t my-docker-image -p 8080:80