Install Immich in LXC and map ZFS storage

stefiliev123

New Member
Mar 22, 2025
1
0
1
Hello,
I am a newbie and I have very hard time understanding unprivileged containers. I want to install Immich in LXC and map ZFS mirrored storage /mnt/tank/immich to the LXC to use it as storage for immich.
I mapped the storage to container 100 like this:
mp0: /mnt/tank/immich,mp=/mnt/immich

now Immich doesn't have permissions to write to mnt/immich. As I understand I need to map the uid and gid in the .conf file. How can I do it?