I’ve been successfully running Home Assistant in LXC container for a while now, but I’ve been missing the features of supervised installation, like easy installation of addons, or automatic updates.
Since the latest Turris OS supports docker via OpenWRT package, I started looking at the option of running a supervised version of Home Assistant on my Turris.
I could not run HA directly in Turris for two reasons:
- Docker package is not officially supported by Turris OS and it is utilising eMMC for storage, constant writes required by Docker it would quickly wear it down.
- Home Assistant does not officially support OpenWRT and there are no packages that could be easily installed.
For those reasons I had no choice but to install Debian inside LXC container and try to run Docker inside it.
After a bit of searching, I’ve found someone who was able to run Docker inside LXC container and after a bit of tweaking, I had it running successfully. Installing HA inside the container was just a simple matter of following the official Supervised HA Installation documents.
I’ve written down all the necessary steps in here - Supervised Home Assistant on Turris Omnia · GitHub
Any comments or feedback welcome.