How can I push a war from windows system to boot2docker's VM tomcat webapp folder?

According to boot2docker docs:

The first of the following share names that exists (if any) will be automatically mounted at the location specified:

  • How to deploy AngularJS app using nginx + docker to Elastic Beanstalk?
  • Run AspNet Core app in docker using GMSA
  • Running docker on read-only root file system
  • Unable to run Tomcat 7 as service inside container on CoreOS
  • Symfony MongoId Class not found error
  • Tomcat 7 fails when starts in Debian, but continue working in background
    1. Users share at /Users
    2. /Users share at /Users
    3. c/Users share at /c/Users
    4. /c/Users share at /c/Users
    5. c:/Users share at /c/Users

    In my case I can see an automount for c:/Users. However how do i push a war from c:/Users to the tomcat webapp folder on the VM created by boot2docker.

  • CrashLoopBackOff when args are added in Kubernetes
  • External Storage for Docker
  • Docker cannot write to assets folder as web server process in Yii/PHP application locally OS X
  • Run a docker command from Groovy script
  • Why does chown increase size of docker image?
  • Ethercalc not launching on Docker and
  • One Solution collect form web for “How can I push a war from windows system to boot2docker's VM tomcat webapp folder?”

    Use -v <host-dir>:<container-dir> option in docker run to share a directory between boot2docker’s filesystem and container’s filesystem. E.g.:

    docker run -v /Users:/war/folder tomcat

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.