NFS v3 Server base on alpine, Fixed all publish ports.
100K+
This image exports /nfsshare via NFS v3. Since some Linux kernels have issues running NFS v4 daemons in containers, only NFS v3 is opened in this image.
docker run -d --privileged --restart=unless-stopped \
-v `pwd`/nfsshare:/nfsshare \
-p 111:111 -p 111:111/udp \
-p 2049:2049 -p 2049:2049/udp \
-p 32765-32768:32765-32768 -p 32765-32768:32765-32768/udp \
--name nfs-server tangjiujun/nfs-server:v1.0
You can configuration export directory and options by set docker environment variables.
EXPORT_DIR default is /nfsshareEXPORT_OPTS default is *(rw,fsid=0,insecure,no_root_squash,no_subtree_check,sync)Image run on macOS has an error: /nfsshare does not support NFS export
Content type
Image
Digest
Size
5.2 MB
Last updated
almost 9 years ago
docker pull tangjiujun/nfs-server:v1.0