microsoft / iis-docker

Dockerfile for IIS
https://hub.docker.com/r/microsoft/iis/
MIT License
293 stars 129 forks source link

Overview information host port mapping incorrect #117

Closed lwsrbrts closed 6 years ago

lwsrbrts commented 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.

wsc9108 commented 6 years ago

Agree, I test and find the same!

shirhatti commented 6 years ago

Thanks for catching that. I've fixed it in 0caffd519f01c876d7e4d9e937f700564b2f4115