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
295 stars 187 forks source link

Bug report: Cannot restart container "exportfs: duplicated export entries" #48

Closed siaimes closed 2 years ago

siaimes commented 3 years ago

image

image

siaimes commented 3 years ago

Caused by this line:

https://github.com/sjiveson/nfs-server-alpine/blob/8dddf580ef7741971a87c38ef6099ebd9b12bc73/nfsd.sh#L40

This line will be added every time you restart, causing entries duplication.

sjiveson commented 2 years ago

PR merged, thank you.