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.