Cannot mount data volume in Docker with Windows

I am running Docker on Windows. I have succesfully build an image with command:
docker build -t my/tag /c/Users/user/Docker/docker-php/image/

docker images result:

  • Why do I get 'could not resolve “registry.giantswarm.io”' errors from boot2docker?
  • Cant produce-to OR consume-from kafka broker running inside a container
  • Marathon not loading docker container: Failed to get resource statistics for executor
  • Benchmarking contianers in clouds
  • How to pass the Docker CLI Arguments when starting a container using Kubernetes
  • Mapping exposed ports on Bluemix containers
  • REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
    my/tag latest 763a2f01c832 28 minutes ago 445.8 MB
    php 5.6-cli 32d2bd1d7a19 6 days ago 444.5 MB

    Unfortunately I have a problem, when I am trying to mount data volume to image. I run:

    docker run --rm -it -v /``pwd``:/src -w /src my/tag bash

    (There is single backtick on pwd, but I don’t knwo how to escape it.)

    But files aren’t visible in docker:

    root@3e91981ef517:/src# ls -al
    total 4
    drwxr-xr-x 2 root root 40 Aug 31 18:59 .
    drwxr-xr-x 47 root root 4096 Aug 31 19:15 ..

    I have tried with different approach, such as:

    docker run --rm -it -v /``pwd``:/src -w /src my/tag bash

    (There is single backtick on pwd, but I don’t knwo how to escape it.)

    docker run --rm -it -v /full/path/to/sources:/src -w /src my/tag bash

    docker run --rm -it -v //full/path/to/sources:/src -w /src my/tag bash

    But every time the same result.

  • How to copy files from local machine to docker container on windows
  • Docker error in Linux mint 17
  • mongo disconnect after connecting to executing thru shell in docker
  • Using mongo with docker and nfs storage
  • Cannot find Jupyter Notebook server on port 8888 (Windows 10)
  • Running apache in an ubuntu Docker container on a RedHat machine
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.