Home-Assistant
HA Docker overview
- The HA docker container is not fully supported in the sense that it can't install components automatically.
To install components e.g. HACS that provide user integrations.
Exec into container and install docker exec -it homeassistant /bin/bash
https://www.hacs.xyz/docs/use/download/download/#to-download-hacs
wget -O - https://get.hacs.xyz | bash -
- Once installed the software should be in the host /config mounted folder
docker-compose.yaml entry
homeassistant: container_name: homeassistant image: ghcr.io/home-assistant/home-assistant:stable privileged: true restart: unless-stopped environment: - TZ=Pacific/Auckland volumes: - ~/HomeAssistant/ha-config:/config - /run/dbus:/run/dbus:ro network_mode: host