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

2: Unsupported version #76

Open mariusmotea opened 1 year ago

mariusmotea commented 1 year ago

Hi,

Recently i was unable to compile and run this successfully on arm64 platform because of the error from the subject. Seams version2 is no longer build in nfs-utils.

The fix is to remove the mention of version 2 protocol here: local flags=('--nfs-version' "$requested_version" '--no-nfs-version' 2) and keep just: local flags=('--nfs-version' "$requested_version")

arendtio commented 1 year ago

I can confirm the issue and the fix.