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:

  • Cannot produce message to kafka from service running in docker
  • Docker: Npm install very slow in Ubuntu host
  • Docker compose apache not working
  • Are Bluemix service endpoints publicly accessible?
  • Can't start working with docker
  • docker.io command replaced just 'docker'
    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.

  • Gulp build into Docker container when NODE_ENV=production
  • Docker 1.12.1: after swarm init, workers unable to join swarm
  • How to use docker-py (official docker client) to start a bash shell?
  • Docker Keep Exiting (Deploying MS SQL on MAC osx)
  • X509 parsing error, 'negative serial number' while pulling repository
  • What is a sparse block device at /dev/xvdf
  • 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.