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
292 stars 185 forks source link

how to permit specific IP addresses using the PERMITTED env variables? #42

Open liorayacob opened 4 years ago

liorayacob commented 4 years ago

Hey, The only example in your documentation about the PERMITTED environment variable uses wildcard (*) in the IP address:

"Adding -e PERMITTED="10.11.99.*" will permit only hosts with an IP address starting 10.11.99 to mount the file share."

Is there any way to permit specific IP addresses to mount directories from the NFS server? For example, I want to permit only the IP addresses 1.2.3.4, 13.15.16.19, etc to connect the NFS server (without using a wildcard).

Thanks!