docker-nfs4
docker-nfs4 copied to clipboard
Simple containerized NFS v4 server running on Alpine Linux
NFS v4 Server Container
NFS v4 server running under s6 overlay on Alpine Linux.
Configuration
See example directory for sample config file.
Quickstart
nfs4:
image: joebiellik/nfs4
# Required to load kernel NFS module
privileged: true
volumes:
# You must provide an exports config file
- ./exports:/etc/exports
# Shares
- /mnt:/mnt
ports:
- "111:111/tcp"
- "111:111/udp"
- "2049:2049/tcp"
- "2049:2049/udp"
Mounting
mount -t nfs4 localhost:/ ./nfs