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

  • Starting an app fails
  • Keep getting Could not read CA certificate when trying to start docker
  • How to cache package manager downloads for docker builds?
  • OpenShift Docker login issue
  • Register to Eureka from Docker with a custom IP
  • Using Docker's CMD to run a Shell Script + Get Output
  • 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?


  • How to expose a docker machine to an internal network
  • Rails & docker - can't install json gem
  • Image not there after tutum build
  • Service inside docker container stops after some time
  • Debugging Drupal on docker container using Atom
  • directly copy the folder in webapps of tomcat instead of war
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.