Script Analytics

2015/11/09

Auto-mount Windows folder to Boot2Docker VM

Boot2Docker is a simple VM used to run Docker in Windows.
With Docker-Machine, you are able to run Docker container inside the Boot2Docker VM from your Windows CMD.
And Everything is bundled into Docker Toolbox.


However, It can be annoying to execute shell scripts inside the Boot2Docker VM then retrieve everything on the Windows FS to finally build the Docker image.
In order to simplify my docker workflow and do everything inside the VM, I wanted to have access to my windows workspace from the boot2docker VM.