Public | Automated Build

Last pushed: 2 years ago
Short Description
Export a directory over NFS
Full Description

NFS in Docker

This container exports a directory over NFSv4.

Usage

docker run \
    --privileged \
    -v <dir_to_export>:/export
    -p 2049:2049/tcp \
    -p 2049:2049/udp \
    -p 111:111/tcp \
    -p 111:111/udp \
    -p 1066:1066/tcp \
    -p 1067:1067/tcp \
    -p 1067:1067/udp \
    eatnumber1/nfs

Now you can mount -t nfs hostname:/ <mntpoint>

Limitations

  • Only one NFS server can be running on the host at a time.
  • The NFS and Portmap ports (2049 and 111 respectively) cannot be changed.
Docker Pull Command
Owner
eatnumber1
Source Repository

Comments (0)