mineshaftgap / d4m-nfs

Docker for Mac with NFS for performance improvements over osxfs
296 stars 26 forks source link

1 to 1 mapping #12

Closed Vanuan closed 7 years ago

Vanuan commented 7 years ago

Currently it is suggested to use /mnt path in xhyve. Wouldn't it be possible to use /Users, etc? So that peoople wouldn't need to change their docker-compose files.

AFAIK, Docker has an option to prevent /Users directories from being mounted.

if-kenn commented 7 years ago

Please see the README

Vanuan commented 7 years ago

Are you saying it's impossible?

if-kenn commented 7 years ago

No, it is possible:

You can now specify what mounts you want in the d4m-nfs-mounts.txt file. Note that if you do this, you need to make sure that it does not conflict with D4M settings, in other words if you want to have /Users be served by NFS instead of osxfs you will need to remove it from the D4M Preferences -> File Sharing. The /tmp share must stay since that is how d4m-nfs exchanges information with the D4M Moby VM.

Vanuan commented 7 years ago

Ah, great.