I'm trying to learn Docker on Azure. I'm using a book called Microservices with Docker on Microsoft Azure. I seem to be stuck on Chapter 2 where we create a simple index.html
page in the /host/src
folder.
When I execute
docker run --name webcontainer -v /home/src:/usr/share/nginx/html:ro -p 80:80 -d nginx
then execute
curl http://localhost
it keeps going to the default index.html
instead of the index.html
in my /home/src
dir. Am I missing something here?