Is it possible to install add-ons designed for HA-Supervised (formerly known as hass.io) to a box running HA as a Docker container (now called HA Container). I believe the add-ons are containers themselves - so it sounds possible but I cannot find any docs on how to do this.
Well, actually I know how to build a container from a remote image, but I don’t know what if any issues there are given that I am not runinng hass.io.
There is no way to add the add-on to HA Container.
But as you said you can still just create another container the usual way and add the integration to HA.
@finity , can you help please. I didnt get very far.
I am running HA core in a Container using docker-compose:
docker-compose.yml
version: '3'
services:
homeassistant:
container_name: home-assistant
image: homeassistant/raspberrypi3-homeassistant:stable
volumes:
- /home/daz/DOCKER/HASS/config:/config
environment:
- TZ=Europe/London
restart: always
network_mode: host
devices:
- /dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0
privileged: true
HA runs fine and my smart home is perfect - almost.
I thought I could create an add-on container locally, by running this:
docker run \
--rm \
--privileged \
-v ~/.docker:/root/.docker \
homeassistant/armv7-builder \
--all \
-t addon-ssh \
-r https://github.com/hassio-addons \
-b master
but I get this far and it stops:
[18:51:10] INFO: Setup crosscompiling feature
[18:51:10] WARNING: Can't enable crosscompiling feature
[18:51:10] INFO: Starting docker.
[18:51:10] INFO: Waiting for docker to initialize...
[18:51:13] INFO: Docker was initialized
[18:51:13] INFO: Checkout repository https://github.com/hassio-addons
? what is wrong ?
as I said above, as far as I know, you can’t have the add-ons without (at a minimum) a HA Supervised install.
The supervisor is the coordinator for the whole add-on system.
You can likely create other containers in the usual way that would otherwise be available via the add-ons.
Thanks! I created a separate topic but this may indeed be the solution to what you have suggested. Let’s see what community will tell