sjiveson / nfs-server-alpine

A handy Alpine Linux based NFS Server image running NFS v4 only, over TCP on port 2049
https://hub.docker.com/r/itsthenetwork/nfs-server-alpine/
GNU General Public License v3.0
295 stars 187 forks source link

allow crossmounts and use subnet mask examples for readme #30

Open dev00 opened 5 years ago

dev00 commented 5 years ago

Just ran into two issues and decided to fix them.

First thing was that setting the IPs via * would not work, so I decided to stick to the netmask example. Imho this is also much more readable.

Second I took your advice by assembling my nfs share by mounting different folders. This didn't work at first - turns out when you allow a whole network, remember to set this option, otherwise you see only empty directories.

Hope this is useful for you :)

colearendt commented 4 years ago

FWIW #23 allows similar behavior by giving you the ability (as the user) to specify arbitrary mount arguments