Created a apache webserver as Docker container but want to access it on windows os browser as localhost.
I can access the webserver with boot2docker private ip address which is 192.168.59.103 but would like to access the webserver as localhost i.e 127.0.0.1.
Following is my Docker Container setup
Running Boot2docker on Oracle VM Exposed ports : "EXPOSE 80 443" in docker file
Command used to create Docker File :
docker run --net=host --name=webserver1 -v /home/data:/data/www/www.samplewebserber.com -v `password`:/scripts -d folder/serverfolder /scripts/run.sh