How to access files downloaded on my windows machine from boot2docker?

I have a file which is downloaded from browser. I have boot2docker on my windows machine. From boot2docker, how can i access my downloaded file? Is it possible?

  • utility for use docker instead of classic setup ( wamp, mamp, lamp)
  • jBPM-Workbench-Showcase docker image: internal git accessing/ clone function does not work
  • Dial tcp i/o timeout with Docker in Gitlab CI build
  • Docker-compose doesn't resolve DNS to correct service
  • docker-compose scale does not work with haproxy
  • Is there a way to detect programmatically whether a Docker container is running natively or using Docker Machine?
  • How to get ENV variable when doing Docker Inspect
  • Docker start privileged?
  • Unable to access hosted app from docker in Windows
  • Execute docker run with sys.process
  • How to get `docker run` full arguments?
  • How do I run JUnit tests in a Docker container and have the container fail startup when JUnit fails?
  • 2 Solutions collect form web for “How to access files downloaded on my windows machine from boot2docker?”

    If you setup shared directories with VirtualBox, it is possible, however, it is overly complex for not much.

    I’d advise to simply use curl or wget within boot2docker to download your file(s).

    An other solution would be to use winscp to upload your file from windows to boot2docker.

    The download folder should be mounted in boot2docker already.

    From Boot2Docker’s README:

    Alternatively, Boot2Docker includes the VirtualBox Guest Additions
    built in for the express purpose of using VirtualBox folder sharing.

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

    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`

    Since Windows’ default download location is C:\Users\[username]\Downloads your downloaded file should be in the Boot2Docker VM at /c/Users/[username]/Downloads.

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