Hi.
First, the answer I posted earlier was not objectively proved, so I deleted it.
@tomp and @stgraber container run kernel space based nfs servers?
To run nfs server in lxd container, use unfs3(user-space nfs server version 3).
Please refer to the two URLs below.
- GitHub - unfs3/unfs3: UNFS3 is a user-space implementation of the NFSv3 server specification.
- https://www.looklinux.com/how-to-install-unfs3-on-centos-6-x/
The unfs3 was tested in ubunt 20.04 container and centos 7.8 container.
It compiles on ubuntu but fails with a compile error on centos.
show the below picture.
I hope it help for you. Thank you @Makrand

