Hey,
I'm new to Proxmox. I want to setup a Nextcloud in a Ubuntu Container and want to use a ZFS dataset that is mounted on the HOST under /media/nextcloud/.
Before, I did not use Proxmox and just had Ubuntu installed on the machine directly and used this dataset to store all nextcloud data.
How do I get the Container to use this directory to use for the nextcloud data folder?
The owner of /media/nextcloud is is www-data:www-data.
I read this page: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers but did not get it working.
To my /etc/pve/lxc/100.conf I added:
I want that the same user www-data can read, write and execute the files in the directory.
Is this the right way to approach that or is there a better and/or easier way to achieve what I'm trying to do?
Best Regards
Davesie
I'm new to Proxmox. I want to setup a Nextcloud in a Ubuntu Container and want to use a ZFS dataset that is mounted on the HOST under /media/nextcloud/.
Before, I did not use Proxmox and just had Ubuntu installed on the machine directly and used this dataset to store all nextcloud data.
How do I get the Container to use this directory to use for the nextcloud data folder?
The owner of /media/nextcloud is is www-data:www-data.
I read this page: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers but did not get it working.
To my /etc/pve/lxc/100.conf I added:
Code:
lxc.idmap: u 0 100000 33
lxc.idmap: g 0 100000 33
lxc.idmap: u 33 1005 1
lxc.idmap: g 33 1005 1
lxc.idmap: u 34 100034 65502
lxc.idmap: g 34 100034 65502
I want that the same user www-data can read, write and execute the files in the directory.
Is this the right way to approach that or is there a better and/or easier way to achieve what I'm trying to do?
Best Regards
Davesie