Trying to get nfs server running in lxc container

using the debian 11 lxd template as a base what would be the best way to get a nfs server running in a lxc template. I see plenty of how to for proxmox but cant seem to apply any of that to opennebula. Pretty sure its a apparmor thing. Has anyone done this here?

I’ve done this before, as far as I recall you need to make the container privileged and whitelist some things on apparmor or the nfs-server process inside the container wont work. Maybe this will help.

You can do all of this from OpenNebula using the dedicated VM Template attributes.

1 Like

That actuall helped a lot. Once I recreate the process I will document my steps for future searches