Cant mount volume docker run

Can’t mount volumes with below script

docker run --server -p 8080:80 -v /d/XAMPP/htdocs:/var/www/html -d php:7.0-apache

When I try

  • Named Docker volume to share build not updating
  • Where are the source files for my Docker application deployed to ECS?
  • Multiple library version management with Docker
  • How to export directory created inside the Docker image to the host machine?
  • how to create a docker image/container with same file rights as host user
  • Docker ElasticSearch 5 does not start . Even ELK does not start
  • docker run --server -p 8080:80 -v /d:/var/www/html -d php:7.0-apache
    

    With this command only XAMPP folder is mounting in docker and I don’t see any folders inside, and I have 403 when I try to access root folder on browser rather presenting me the list of folder.

  • Is it possible to turn Docker image into Windows executable for easy distribution?
  • Docker user defined network gateway timeout
  • can't save docker images
  • Unable to resolve ip from hostname inside container
  • How to use a python library that is constantly changing in a docker image or new container?
  • Node https.request to Docker API closes before full result is returned
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.