Docker volume not mounting in the Ubuntu container from Windows host

I’m trying to play with Facebook’s HHVM on my lovely Windows, but since it isn’t supported yet I’m trying Docker.

Pretty simple. I have only these two files on the same directory in path /c/apache/htdocs/hello-hhvm

  • Docker for Windows networking
  • Running Unity3d for automated builds inside a docker container
  • Running impala sql script from Docker file
  • Docker-machine - IP address conflict
  • 'mv' command throwing error but executing fine in docker
  • Docker run cron jobs in parallel
  • Dockerfile

    FROM ubuntu:wily
    RUN apt-get -y install software-properties-common
    RUN apt-key adv --recv-keys --keyserver hkp:// 0x5a16e7281be7a449
    RUN add-apt-repository "deb $(lsb_release -sc) main"
    RUN apt-get -y update
    RUN apt-get -y install hhvm
    VOLUME /app
    WORKDIR /app


    <?hh echo 'its me';

    Then I build the image:

    docker build -t hhvm .

    And run the container trying to mount the volume /app:

    docker run --rm -it -v /c/apache/htdocs/hello-hhvm:/app hhvm bash

    I successfully start a bash session on the container already in the /app directory BUUUUT there is no hello.php neither Dockerfile in there.

    What I’m doing wrong?


  • Cannot save a Spark Model with a Dockerized Spark cluster
  • Network configuration docker PHP API
  • Can't push docker image to gcloud
  • Docker cannot find JVM
  • docker run -it bash -c 'Function from sourced file'
  • Kubernetes executor on Gitlab ERROR: Job failed: image pull failed
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.