Closed lwsrbrts closed 6 years ago
Perhaps I've missed something but should this in the example:
docker run -d -p 8000:8000 --name my-running-site iis-site
Not instead be:
docker run -d -p 8000:80 --name my-running-site iis-site
Since the only exposed port in the Dockerfile is 80, mapping to the container on 8000 won't work.
Agree, I test and find the same!
Thanks for catching that. I've fixed it in 0caffd519f01c876d7e4d9e937f700564b2f4115
Perhaps I've missed something but should this in the example:
docker run -d -p 8000:8000 --name my-running-site iis-site
Not instead be:
docker run -d -p 8000:80 --name my-running-site iis-site
Since the only exposed port in the Dockerfile is 80, mapping to the container on 8000 won't work.