You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ This is the only containerized NFS server that offers **all** of the following f
24
24
25
25
The container requires you to supply it with your desired [NFS exports](https://linux.die.net/man/5/exports) upon startup. You have **two choices** for doing this:
26
26
27
-
1.**Bind mount an exports file into the container at `/etc/exports`**.
27
+
1.**Bind mount a full exports file into the container at `/etc/exports`**.
28
28
29
29
docker run \
30
30
-v /host/path/to/exports.txt:/etc/exports:ro \
@@ -33,15 +33,15 @@ The container requires you to supply it with your desired [NFS exports](https://
33
33
-p 2049:2049 \
34
34
erichough/nfs4-server:latest`
35
35
36
-
1.**Supply environment variable triplets to the container to allow it to construct `/etc/exports`**.
36
+
1.**Supply each line of `/etc/exports` as an environment variable**.
37
37
38
-
Each triplet should consist of `NFS_EXPORT_DIR_*`, `NFS_EXPORT_CLIENT_*`, and `NFS_EXPORT_OPTIONS_*`. You can add as many triplets as you'd like.
38
+
The container will look for environment variables that start with `NFS_EXPORT_` and end with an integer. e.g. `NFS_EXPORT_0`, `NFS_EXPORT_1`, etc.
0 commit comments