Sign inSign up

babim/nfs

By babim

•Updated over 9 years ago

NFS Server on Alpine Linux

Image
0

2.0K

babim/nfs repository overview

⁠Thanks https://github.com/flaccid/docker-nfs-client⁠

⁠RUN

Basic example, mounting NFS within container:

$ docker run -it --privileged=true --net=host -v /mnt/nfs-1 -e SERVER=192.168.0.9 -e SHARE=movies babim/nfs:client

Writing back to the host:

docker run -itd \
    --privileged=true \
    --net=host \
    --name nfs-movies \
    -v /media/nfs-movies:/mnt/nfs-1:shared \
    -e SERVER=192.168.0.9 \
    -e SHARE=movies \
    babim/nfs:client

⁠default:

FSTYPE nfs4
MOUNT_OPTIONS nfsvers=4
MOUNTPOINT /mnt/nfs-1

Tag summary

Content type

Image

Digest

Size

4.3 MB

Last updated

almost 10 years ago

docker pull babim/nfs