Hello,
I have an NFS share mounted to proxmox host and I want to mount that share from host to an unprivileged container.
So I added a line "mp0: /location/on/host,mp=/location/on/container"
In privileged mode everything works and permissions are ok.
When I switch to unprivileged mode permissions become "nobody:nogroup".
Should I manually add mapping to the config?
I tried adding mapping like it's explained here: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
But it didn't change anything.
Am I doing something wrong and is it even possible to mount NFS inside an unprivileged container with normal uid/gid mappings?
Thank you for all the suggestions in advance
I have an NFS share mounted to proxmox host and I want to mount that share from host to an unprivileged container.
So I added a line "mp0: /location/on/host,mp=/location/on/container"
In privileged mode everything works and permissions are ok.
When I switch to unprivileged mode permissions become "nobody:nogroup".
Should I manually add mapping to the config?
I tried adding mapping like it's explained here: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
Code:
lxc.idmap = u 0 100000 65536
lxc.idmap = g 0 100000 65536
But it didn't change anything.
Am I doing something wrong and is it even possible to mount NFS inside an unprivileged container with normal uid/gid mappings?
Thank you for all the suggestions in advance