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

  • Docker remove <none> TAG images
  • Configuring Django with Nginx, uWSGI and Postgres on Docker
  • Docker mysql data not reflecting chages
  • Attempting to access USB device from Docker in Windows
  • Docker volumes-from not working when launching container with -H host flat
  • Kubernetes ACS engine: containers (pods) do not have internet access
  • 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.

  • Setting-up containers reverse proxy
  • How to pull image from custom docker registry with golang?
  • How to remote desktop to a docker container with xrdp installed running on a remote server?
  • Docker container stops running only when volume is attached
  • Docker and bower links
  • Using PyCharm's remote debugger on remote machines inside docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.