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?

  • docker remote api set env
  • Have docker container connect to network devices
  • Docker image with R (rocker/r.base) and python does not work when running on EC2, but local is fine
  • Creating docker container with HP UX and IBM AIX
  • Calling Git in Jenkins build script in Docker
  • How do I disable Transparent Hugepages for Docker for Mac/Windows (Native)
  • Kubernetes - Automatically populating CloudDNS records from service endpoints
  • Docker as a Proxy server for a web service
  • How to integrate Capistrano with Docker for deployment?
  • Docker instead of multiple VMs
  • Picking environment variables passed to docker container in Runlevel Scripts in Ubuntu
  • ERROR: Error response from daemon: datastore for scope “global” is not initialized
  • 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.