Open xmontero opened 3 years ago
The readme says "Adding -e READ_ONLY will cause the exports file to contain ro instead of rw".
-e READ_ONLY
ro
rw
Running this with -e READ_ONLY:
docker run -it --rm --name nfs --privileged -v /tmp:/nfsshare -e SHARED_DIRECTORY=/nfsshare -p 2049:2049 -e READ_ONLY -e SYNC=true itsthenetwork/nfs-server-alpine
it says:
The READ_ONLY environment variable is unset or null, defaulting to 'rw'. Clients have read/write access.
It says rw when it is supposed to be ro.
Nevertheless with -e READ_ONLY=true like this:
-e READ_ONLY=true
docker run -it --rm --name nfs1 --privileged -v /tmp:/nfsshare -e SHARED_DIRECTORY=/nfsshare -p 2049:2049 -e READ_ONLY=true -e SYNC=true itsthenetwork/nfs-server-alpine
The READ_ONLY environment variable is set. Clients will have read-only access.
Should the README be updated? Or am I missing something?
The readme says "Adding
-e READ_ONLY
will cause the exports file to containro
instead ofrw
".Running this with
-e READ_ONLY
:it says:
It says
rw
when it is supposed to bero
.Nevertheless with
-e READ_ONLY=true
like this:it says:
Should the README be updated? Or am I missing something?