expose container port docker code example
Example: docker expose port
docker run -p [external]:[Internal]
#example (will open in localhost:8080 to container port 80)
docker run -p 8080:80
docker run -p [external]:[Internal]
#example (will open in localhost:8080 to container port 80)
docker run -p 8080:80