I have Immich working fine inside an LXC with docker, You just gotta make sure that Keyctl and Nesting are activated in the LXC container's options in Proxmox and make sure to use the Immich recommended docker-compose file.
If you still have problems try to take a look at the containers logs with the "docker logs" command to see if there's an error message somewhere.