Sign inSign up

mitcdh/nfs-server

By mitcdh

Updated about 9 years ago

Slight modification of https://github.com/cpuguy83/docker-nfs-server to define nfs in /etc/services

Image
0

1.0K

mitcdh/nfs-server repository overview

Docker NFS Server

Environment Variables
  • MOUNT_OPTS: mount options to apply to all mounts
  • NFS_CLIENTS: nfs client specification for all mounts
Usage
docker 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
Credits

Tag summary

Content type

Image

Digest

Size

88.4 MB

Last updated

about 9 years ago

docker pull mitcdh/nfs-server