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

  • How to install pdo driver in php docker image?
  • Is it possible to run my meteor tests in docker?
  • Auto-provision new hosts with docker swarm
  • docker-machine - connection refused error
  • Connect docker container to database in host's local network
  • Docker reload does not reflect changes in CSS files
  • 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?


  • Oracle DB+Weblogic in a single container
  • Cannot use mounted host directory from MongoDB with minikube
  • gcloud docker — push vertificate error
  • rename enviromental variables from linking dockers
  • Installing Docker on an isolated (no internet) Centos 7 box?
  • running node.js in docker calling a shell script , gibberish errors
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.