Set these options in LXC VS config:
lxc.apparmor.profile = generated lxc.apparmor.allow_nesting = 1
On bullseye docker fails anyway. Follow the Doker guide to install latest Version > 20.10.5
https://docs.docker.com/engine/install/debian/
Test:
docker run hello-world
Win! :)