Installing dockerized add-ons

I’ve got Home Assistant running on my fresh RPi 4, running Raspbian Buster, by following the Installation on Docker instructions:

docker run --init -d --name="home-assistant" -e "TZ=America/New_York" -v /PATH_TO_YOUR_CONFIG:/config --net=host homeassistant/raspberrypi4-homeassistant:stable

I’ve now got HA sucessfully running in a Docker container, alongside a few other stuff.

I’ve come across quite a few posts mentioning that would be “the way to go”, as opposed to installing Hass.IO (which basically does the same, in some way?). However, accessing my configuration is quite a hastle, which is why I’d like to install a few add-ons.

How do I go about installing add-ons? I’m guessing those would each have their own container, alongside my main HA container? And what about the supervisor? I’m guessing I’ll need that one as well?

I’ve found the hassioaddons repo’s on Docker Hub.

Does anyone have a sample docker-compose which demonstrates installing the supervisor (should I need that one) and the vscode add-on for example?

Thanks!

2 Likes