There’s actually three ways to run Docker on Proxmox: in a VM, in an LXC container, or directly in Proxmox itself. I wrote about it here:
https://danthesalmon.com/running-docker-on-proxmox/
you can run docker inside lxc as well
lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow: a
lxc.cap.drop:Aww yeah! For real? I can't wait to try this out.
Note that it doesn't play well with ZFS, but see here for workaround: https://old.reddit.com/r/Proxmox/comments/m9ce8s/got_docker_...
Yes, I can run them in a VM and currently do just that.