Skip to content

jcbiellikltd/docker-nfs4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFS v4 Server Container

Docker Pulls Docker Stars Docker Build Docker Build Status

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