docker-nfs-server icon indicating copy to clipboard operation
docker-nfs-server copied to clipboard

Reduce RAM/Memory resources

Open ngosang opened this issue 3 years ago • 2 comments

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 avatar Oct 09 '21 17:10 ngosang

imagen imagen

ngosang avatar Dec 17 '21 23:12 ngosang

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

ngosang avatar Dec 18 '21 14:12 ngosang