Does docker-machine can only mount /c/Users on win

2019-01-20 07:17发布

问题:

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

回答1:

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.