Search code examples
dockerdocker-machine

Does docker-machine can only mount /c/Users on windows?


But I want to mount /d because I like to put my projects on /d.


Solution

  • docker-machine uses a boot2docker.iso VM image, based on TinyCore

    The original boot2docker project mentioned that you can mount other folders with, at runtime:

    mount -t vboxsf -o uid=1000,gid=50 your-other-share-name /some/mount/location
    

    Issue 1814 of docker-machine suggests that, and it seems to work.