Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

narf/nfsclient

Docker base image for mounting NFS shares inside containers

Included is a mount_nfs.sh script, which you can call in your CMD or
ENTRYPOINT script as /root/mount_nfs.sh - requires you start your container
with an NFS_MOUNT environment variable like:

NFS_MOUNT=nas.phl.looting.biz:/mnt/storage/music

example docker run command:

 docker run --privileged \
  -e NFS_MOUNT=nas.phl.looting.biz:/mnt/storage/music
  -i -t narf/nfsclient /bin/bash

your NFS share would be mounted at /mnt/storage/music in your container

Mounting nfs shares requires the container to be started with the --privileged
flag.

Docker Pull Command
Owner
narf
Source Repository

Comments (1)
adubkov
2 years ago

There is a typo in run command, current name of the container narf/nfsclient, not the narf/nfs-client