|
1 | 1 | # obeone/nfs-server (forked from erichough/nfs-server)
|
2 | 2 |
|
| 3 | +[](https://github.com/obeone/docker-nfs-server/actions/workflows/build-and-push-v2.yaml) |
| 4 | + |
3 | 5 | A lightweight, robust, flexible, and containerized NFS server.
|
4 | 6 |
|
| 7 | +[Nightly built containers are available for multiple arch](https://github.com/obeone/docker-nfs-server/pkgs/container/nfs-server), and now manifest are signed using cosign ! |
| 8 | + |
| 9 | +A [Helm chart is available](https://github.com/obeone/charts/tree/main/charts/nfs-server) to ease deploy on Kubernetes |
| 10 | + |
5 | 11 | ## Why?
|
6 | 12 |
|
7 | 13 | This is the only containerized NFS server that offers **all** of the following features:
|
@@ -50,9 +56,9 @@ This forked version add the following features :
|
50 | 56 | - `rpcsec_gss_krb5` (*only if Kerberos is used*)
|
51 | 57 |
|
52 | 58 | You can manually enable these modules on the Docker host with:
|
53 |
| - |
| 59 | + |
54 | 60 | `modprobe {nfs,nfsd,rpcsec_gss_krb5}`
|
55 |
| - |
| 61 | + |
56 | 62 | or you can just allow the container to [load them automatically](https://github.com/ehough/docker-nfs-server/blob/develop/doc/feature/auto-load-kernel-modules.md).
|
57 | 63 | 1. The container will need to run with `CAP_SYS_ADMIN` (or `--privileged`). This is necessary as the server needs to mount several filesystems *inside* the container to support its operation, and performing mounts from inside a container is impossible without these capabilities.
|
58 | 64 | 1. The container will need local access to the files you'd like to serve via NFS. You can use Docker volumes, bind mounts, files baked into a custom image, or virtually any other means of supplying files to a Docker container.
|
@@ -117,7 +123,7 @@ Let's break that command down into its individual pieces to see what's required
|
117 | 123 | As noted in the [requirements](#requirements), the container will need additional privileges. So your `run` command will need *either*:
|
118 | 124 |
|
119 | 125 | docker run --cap-add SYS_ADMIN ... ghcr.io/obeone/nfs-server
|
120 |
| - |
| 126 | + |
121 | 127 | or
|
122 | 128 |
|
123 | 129 | docker run --privileged ... ghcr.io/obeone/nfs-server
|
|
0 commit comments