[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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!