adlogix / docker-machine-nfs

Activates NFS on docker-machine
MIT License
794 stars 104 forks source link

Customize which directory is mounted #16

Closed adrienbrault closed 8 years ago

adrienbrault commented 8 years ago

Allow to specify one or more directories to mount.

Having vagrant shares in /etc/exports, the /Users one conflicts

frankcarey commented 8 years ago

This issue would also be required to make this work. https://github.com/docker/machine/pull/2100

tonivdv commented 8 years ago

Hey,

I worked a bit on that, and you can already play with my branch feature/custom-share

It only allows to substitute the /Users with another folder, but soon it will be possible to do multiple ones as @adrienbrault wrote.

You can test it by executing:

./docker-machine-nfs.sh box -s=/opt/docker

Let me know your first thoughts on this.

Cheers