[SOLVED] NFS best practice in unprivileged LXC

piviul

Active Member
Mar 19, 2020
50
3
28
Hi all, I need to mount a NFS share in a LXC unprivileged container. I've read that there are two ways: the first one is to modify apparmor the second one is to mount it on the node and then export the mount point to the container. Is it correct? What's the best way to have a NFS share available in a LXC unprivileged container?

Piviul
 
hi,

mounting on the host and then binding it to the container is preferred.
 
Many thanks Oguz, further reading have bring me on the same way you suggest me. I have tried to mount the nfs share on the host but without success. Any way I open a new tread for this problem...

Have a great day

Piviul