[SOLVED] NFS in a container

blueduckdock

Renowned Member
Mar 18, 2016
20
0
66
121
Hey all, had this going in a container for a long time but was using this:
lxc.aa_profile: lxc-container-default-with-nfs

I think it had been yelling at me that it was deprecated for some time and lo and behold, after an upgrade it stopped working. I commented it out and the container starts just fine.
That said, what is the new formatting for allowing NFS within a container?

Not sure it matters but running
pve-manager/5.1-49/1e427a54 (running kernel: 4.13.16-2-pve)

Edit: Apparently this works:
lxc.aa_profile unconfined


I take it it's not super secure but anyone have any input on that?
 
Last edited:
lxc.aa_profile was renamed to lxc.apparmor.profile