sjiveson / nfs-server-alpine

A handy Alpine Linux based NFS Server image running NFS v4 only, over TCP on port 2049
https://hub.docker.com/r/itsthenetwork/nfs-server-alpine/
GNU General Public License v3.0
292 stars 185 forks source link

adding support to use custom /etc/exports file #47

Open mynktl opened 3 years ago

mynktl commented 3 years ago

Hello,

Thanks for creating this wonderful project.

We are using docker image from https://github.com/sjiveson/nfs-server-alpine in our project https://github.com/openebs/dynamic-nfs-provisioner. To extend the functionality, We need to provide a custom /etc/export file to nfsd.sh. Can we add support to use export config through env?

As of now, as a workaround, we are creating our docker image with a modified file to pass custom export configuration. Reference PR: https://github.com/openebs/dynamic-nfs-provisioner/pull/22.

We are also planning to add multi-arch support to the Docker file. Wanted to check your interest in accepting the PRs for the same.

Thanks!

colearendt commented 2 years ago

Whew, time flies. In any case, I wanted to share that I explored something similar in #23 a while back. I'll take a pass on fixing up the merge conflicts here before long