Volume sharing in Docker and Virtualbox

I have installed docker toolbox on my Windows PC,when i install containers on it using Kitematic, I want to share a folder with my local machine. However docker runs in virtualbox on the default machine in VirtualBox.

So, i guess i first have to do a fvolume share of the virtualbox vm with my local machine and then a second share of the docker container with the folder that I shared in virtualbox. Could someone assist me in this please?

  • Manually starting hyperledger peers using docker images
  • Best way to run two docker compose apps behind nginx on one host machine?
  • Docker complains about invalid certificate after update to v1.7.0
  • Consuming entries of a ConfigMap created from property files
  • docker-compose use extra_hosts with container id
  • docker 1.9 registry API change
  • anyway to setup npm credentials over `npm login` without reading input from STDIN?
  • Why does Yesod's TestImport module ignoreEnv in loadAppSettings?
  • Docker Swarm that uses just nodes? [duplicate]
  • Build with maven in docker throw {}->unix://localhost:80: No such file or director
  • Push container to bluemix registry: 405 Method Not Allowed
  • MongoDB, Docker, Meteor: Connection Refused
  • One Solution collect form web for “Volume sharing in Docker and Virtualbox”

    No, you shouldn’t need to share any more folder: docker-machine will create a VM which auto-mount C:\Users\<yourLogin>.

    docker-machine ls
    docker-machine ssh default
    cd /C/Users/<yourLogin>
    

    You can mount other folders from your hosts, but you don’t have to.

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