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?
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
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.