lxc 20220302000315.323 ERROR lxc_start - start.c:lxc_spawn:1163 - Failed to set up id mapping.
Unprivileged container is not coming up with the below error in the container logs lxc 20220302000315.323 ERROR lxd - start.c:lxc_spawn:1163 -Failed to set up id mapping. lxc 20220302000011.952 ERROR lxc_start - start.c:__lxc_start:1338 - Failed to spawn container "XXX".
I am unable to to know which ID is mismatched to resolve the issue.
How do I know which ID mapping is causing the issue and how to resolve it ?
I tried mapping the ids in "/etc/subgid" and "/etc/subuid" and putting few additional permissions in "/etc/group". But resulting in the same error.