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
289 stars 179 forks source link

documentation issue with READ_ONLY flag #31

Closed salami738 closed 5 years ago

salami738 commented 5 years ago

Hi,

in the documentation on https://hub.docker.com/r/itsthenetwork/nfs-server-alpine: Adding -e READ_ONLY=true will cause the exports file to contain ro instead of rw, allowing only read access by clients.

But READ_ONLY=false also leads to a read only export.

Maybe you can fix the entrypoint script or add a notice to the documentation

greetings!

sjiveson commented 5 years ago

Hey,

Thank you. I'd obviously changed the logic somewhere to what it is now, which is far more efficient and forgot to update the README. Great spot, thank you and corrected.