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?

  • push updates to gcloud containers/pods
  • Understanding Docker image
  • Error trying to create a scheduled task within Windows 2016 Core container
  • Number of nodes appears 0 in a swarm cluster
  • Docker NPM Install Not working
  • How to run protractor on docker?
  • Symlinked Dockerfile for environments
  • Docker Python File Input Selector
  • Docker on windows 10 can't startup after deleting MobyLinuxVM in Hyper-V manually
  • Can't execute boot2docker command on TeamCity command line build step
  • Why >>> eval “$(docker-machine env default)” in a ansible playbook script return “No such file or directory”
  • How to import configurations to dockerfile.
  • 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.