Can't start NFS server

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.

  1. https://github.com/unfs3/unfs3
  2. 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

1 Like