adlogix / docker-machine-nfs

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

Customize the NFS -mapall param in /etc/exports #17

Closed tonivdv closed 8 years ago

tonivdv commented 8 years ago

Currently the /etc/exports file gets configured with:

-mapall=$(id -u):$(id -g)

However it seems for some (#14) this causes permissions issues and needs to be replace with some other values or be substituted with -maproot=0

The idea would be to allow to send the /etc/exports params through the docker-machine-nfs command:

E.g.

./docker-machine-nfs [machine] --nfs-exports="-maproot=0"
arosenhagen commented 8 years ago

:+1:

ckortekaas commented 8 years ago

+1