All Projects → f-u-z-z-l-e → docker-nfs-server

f-u-z-z-l-e / docker-nfs-server

Licence: GPL-3.0 license
No description or website provided.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to docker-nfs-server

puppet-nfs
Installs and configures NFS server and clients
Stars: ✭ 14 (-54.84%)
Mutual labels:  nfs, nfs-server, nfs-exports
Leofs
The LeoFS Storage System
Stars: ✭ 1,439 (+4541.94%)
Mutual labels:  nfs, nfs-server
docker-nfs4
Simple containerized NFS v4 server running on Alpine Linux
Stars: ✭ 19 (-38.71%)
Mutual labels:  nfs, nfs-server
unfs3
UNFS3 is a user-space implementation of the NFSv3 server specification.
Stars: ✭ 74 (+138.71%)
Mutual labels:  nfs, nfs-server
jupyterhub-deploy-swarm
A DockerSwarm Jupyterhub setup, which uses a NFS Server running in a Docker Container for persistent storage
Stars: ✭ 19 (-38.71%)
Mutual labels:  nfs, nfs-server
nfsu2-rpc
A mod that adds Discord Rich Presence integration to Need for Speed: Underground 2
Stars: ✭ 24 (-22.58%)
Mutual labels:  nfs
Batch Shipyard
Simplify HPC and Batch workloads on Azure
Stars: ✭ 240 (+674.19%)
Mutual labels:  nfs
Volplugin
**EXPERIMENTAL** Contiv Storage: Policy backed Clustered Storage (via Ceph or NFS) for Docker
Stars: ✭ 217 (+600%)
Mutual labels:  nfs
Rpi Pxe Server
setup a Raspberry Pi as an PXE-Server
Stars: ✭ 197 (+535.48%)
Mutual labels:  nfs
fuse-nfs-crossbuild-scripts
fuse-nfs for windows using dokany
Stars: ✭ 35 (+12.9%)
Mutual labels:  nfs
awesome-storage
A curated list of storage open source tools. Backups, redundancy, sharing, distribution, encryption, etc.
Stars: ✭ 324 (+945.16%)
Mutual labels:  nfs
magento2-ansible-vagrant
Ⓜ️2️⃣ Ansible provisioned Ubuntu 16.04 vagrant box for Magento2 development.
Stars: ✭ 25 (-19.35%)
Mutual labels:  nfs
RHCSA ENV
An environment to prepare for the RHCSA certification, mainly automates server side installation of samba and NFS (RHCSA deals only with the client side)
Stars: ✭ 28 (-9.68%)
Mutual labels:  nfs-server
RPCScan
Tool to communicate with RPC services and check misconfigurations on NFS shares
Stars: ✭ 53 (+70.97%)
Mutual labels:  nfs
pmOCR
A wrapper for tesseract / abbyyOCR11 ocr4linux finereader cli that can perform batch operations or monitor a directory and launch an OCR conversion on file activity
Stars: ✭ 53 (+70.97%)
Mutual labels:  nfs
Aiofile
Real asynchronous file operations with asyncio support.
Stars: ✭ 214 (+590.32%)
Mutual labels:  nfs
nfsdtop
Display top I/O on NFS servers using bpftrace on Linux and DTrace on FreeBSD
Stars: ✭ 27 (-12.9%)
Mutual labels:  nfs
wyzecam-hls
Converts MP4 files from WyzeCam NFS to HLS stream. Much more stable alternative to RTSP firmware.
Stars: ✭ 58 (+87.1%)
Mutual labels:  nfs
docker-machine-mac-nfs-mount
Docker machine Mac OS X nfs mount
Stars: ✭ 17 (-45.16%)
Mutual labels:  nfs
terraform-aws-efs-backup
Terraform module designed to easily backup EFS filesystems to S3 using DataPipeline
Stars: ✭ 40 (+29.03%)
Mutual labels:  nfs

docker-nfs-server

to start

docker run -d --privileged --restart=always \
-v /tmp:/nfs \
-e NFS_EXPORT_DIR_1=/nfs \
-e NFS_EXPORT_DOMAIN_1=\* \
-e NFS_EXPORT_OPTIONS_1=ro,insecure,no_subtree_check,no_root_squash,fsid=1 \
-p 111:111 -p 111:111/udp \
-p 2049:2049 -p 2049:2049/udp \
-p 32765:32765 -p 32765:32765/udp \
-p 32766:32766 -p 32766:32766/udp \
-p 32767:32767 -p 32767:32767/udp \
fuzzle/docker-nfs-server:latest

volumes

You will need to provide the container with the volume(s) that you want to expose via nfs

-v <local path>:<path in container>

environment variables

You will need to provide at the following 3 environment variables to configure the nfs exports:

  • NFS_EXPORT_DIR_1
  • NFS_EXPORT_DOMAIN_1
  • NFS_EXPORT_OPTIONS_1

When the container is started, the environment variables are parsed and the following output is created in /etc/exports file:

NFS_EXPORT_DIR_1 NFS_EXPORT_DOMAIN_1(NFS_EXPORT_OPTIONS_1)

for the example given the following line in /etc/exports would be created:

/nfs *(ro,insecure,no_subtree_check, no_root_squash, fsid=1)

To define multiple exports, just increment the index on the environment variables

build command

docker build -t fuzzle/docker-nfs-server:v1 .

inspect running container

docker exec -ti CONTAINER bash

mounting the nfs share from another host

mount -v -t nfs -o ro,nfsvers=3,nolock,proto=udp,port=2049 <ip_address_docker_host>:/nfs /mnt/scratch

Todo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].