This is because your IIS or some other server is already running on port 80.
Try this and it should work.
docker run --detach --publish 81:80 --name webserver nginx
Then in browser try http://localhost:81/
Share and learn in the Docker community.
This is because your IIS or some other server is already running on port 80.
Try this and it should work.
docker run --detach --publish 81:80 --name webserver nginx
Then in browser try http://localhost:81/