Permission issues inside container

As you’re running 22.04, you’re kernel will be 5.15, and you’re running on ZFS, meaning idmapped mounts are not available, which means you’re likely using shiftfs and could be being affected by:

Can you try this: