Docker httpd doesn’t match a volume

  apache, docker, volumes

I pulled httpd: docker pull httpd.

When I started the container:

docker run --name httpd --rm -p 80:80 -v $(pwd)/htdocs:/htdocs -d httpd

I see the original index.html page even if in my htdocs I put my personal index page.

Can someone help me?

Source: Docker Questions

LEAVE A COMMENT