Configure supervisor devcontainer to work with core devcontainer

Hello,

I am new to HA development and have searched on this forum for answer but unable to find yet.

I run HA core in a devcontainer on my docker on a remote SSH host, just fine.

I then run HA supervisor in another devcontainer on the same docker host, but can’t figure out how to config supervisor to work with HA core. I am unable to find this in document too.

Please guide me on how this can be done.

Thank you.

The supervisor runs HA, so you only need that. Point a web browser to your supervisor IP on port 8123 (without your HA non supervised install running)

Thank you.

I now realize that supervisor runs it own homeassistant container inside devcontainer (DinD). By default it maps port 8123 on devcontainer to port 9123 on docker host, so http://{docker_host_ip}:9123 can access. I can also add a port forward in Visual Studio Code to access HA using http://localhost:8123.