I tried to copy lxd container to lxc system. I used rsync and kept file permissions with option --numeric-ids, but container failed to start with file permission error inside container.
How to copy lxd->lxc and set correct file permissions?
It’s likely because your source container was unprivileged and your lxc setup isn’t.
You could set
true, then restart the container to have it get remapped and then do the rsync. That way the filesystem tree should all be unmapped and hopefully make lxc happier.