Slight modification of https://github.com/cpuguy83/docker-nfs-server to define nfs in /etc/services
1.0K
MOUNT_OPTS: mount options to apply to all mountsNFS_CLIENTS: nfs client specification for all mountsdocker run -d \
--name nfs \
--cap-add SYS_ADMIN \
-e MOUNT_OPTS='rw,async' \
-e NFS_CLIENTS='192.168.1.0/24' \
-v /local-path:/share1 \
mitcdh/nfs-server \
/share1
Content type
Image
Digest
Size
88.4 MB
Last updated
about 9 years ago
docker pull mitcdh/nfs-server