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?

  • Get audio from asterisk in docker on Mac?
  • Making use of docker for development: a use case
  • Is 2 the minimum number of instances to properly deploy a container on AWS?
  • Run docker in ubuntu live disk
  • Escaping Docker attach one started from bash script
  • Is that possible to get image ID from Docker Registry V2?
  • boot2docker equivalent of docker exec
  • How to setup docker to use cache from registry on every build step
  • New NodeJS Error Thrown While Running mupx deploy
  • Executing `ls` on docker with a shared volume results in “No such file or directory”
  • Parse a variable with the result of a command in DockerFile
  • Retrieve docker image ID
  • 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.