Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 537 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 537 Bytes

Docker NFS Server

Usage

docker run -d --name nfs --privileged vicoresearch/nfs-server /path/to/share /path/to/share2 /path/to/shareN

Shared paths must be in /exports directory, otherwise they will not be exhibited via NFS. This seems to be somehow related to VOLUME mounts.

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

More Info

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