Connect Home Assistant Container to ESPHome LXC

I think you are confused.

If you are running ha in a docker container you can’t run add-ons.

You may want to run HAOS in a VM, which @tteck also has a script for, and which there is a thread about here Installing Home Assistant OS using Proxmox 8