Sign inSign up

bravado/docker-nfs-server

By bravado

•Updated about 9 years ago

NFS Server

Image
0

244

bravado/docker-nfs-server repository overview

⁠Docker NFS Server

⁠Usage

Mount the volumes to be exported on '/exports' and run a privileged container passing a list of allowed ip addresses

docker run -d --name nfs --privileged -v /path1:/exports/dir -v /path2:/exports/otherdir bravado/nfs-server 10.0.0.0/8 192.168.0.0/24 ...

Test with

docker run -d --name nfs-client --privileged --link nfs:nfs cpuguy83/nfs-client /path/on/nfs/server:/path/on/client

Environment Variables

ENV NFS_OPTS rw,sync,no_subtree_check,no_root_squash

⁠More Info

See https://container42.com/2014/03/29/docker-quicktip-4-remote-volumes/⁠

Tag summary

Content type

Image

Digest

Size

86.4 MB

Last updated

about 9 years ago

docker pull bravado/docker-nfs-server