ehough / docker-nfs-server

A lightweight, robust, flexible, and containerized NFS server.
https://hub.docker.com/r/erichough/nfs-server/
GNU General Public License v3.0
669 stars 221 forks source link

Reduce RAM/Memory resources #69

Open ngosang opened 2 years ago

ngosang commented 2 years ago

This docker image is using 157 MB of RAM.

It's not a big deal in my server but I think it's too much compared to similar services. For example Samba in Docker only uses 5 MB of RAM. => https://hub.docker.com/r/elswork/samba

There are several process running in the container. Is /sbin/rpc.statd required if I only want to share files in my LAN?

ngosang commented 2 years ago

imagen imagen

ngosang commented 2 years ago

Setting the environment variable NFS_DISABLE_VERSION_3=true reduces memory usage from 157MB => 53MB