TLDR:
I think we should/could rethink the whole add-on system leveraging docker compose
Long story
I’m using the debian supervised system and have to migrate.
I tried the home assistant OS approach with KVM. a nightmare. this is something that cannot scale and is too geek oriented
The whole division of the containerized approach and the home assistant os is too divisive. I would go for a unified solution in order to solve once and for all the problem
maybe, using docker compose and a bit over it (like updates notification and a little UI to change it) could be the way (something like the esphome approach)
They solve two separate issues. Addons are docker container made easy for haos. Thats it
That means some people naturally made addon that work better for haos than the base container. So people like them.
That doesn’t mean you re-engineer the whole thing. If you need an addon use it on haos. You can haos in VM some people like docker core or portainer or whatever great but if you like that then you may forgo some of the nice to haves
Its the natural effect of choice. Choice is good to quote a friend on the SmartThings community.
This topic comes up frequently. There is an animated discussion here with seemingly similar objectives. It is not a good discussion, frequently assuming “well you chose docker you should be advanced enough to write your own compose files”. Not helpful. Not everyone uses docker because they’re advanced: people have other reasons. The world is more complex than simple binaries. These discussions are evidence that novice docker users could use a helping hand without being condescendingly told to switch to HAOS.
However I would argue that expecting HA devs to morph their add-on architecture to use, or be more like, docker-compose is unrealistic. It’s likely it exists because the compose architecture was insufficient for their needs.
Maybe the community steps up with a repo of HA-friendly docker-compose files, perhaps even going as far as a HACS-like (or compatible) store for installing them. Or possibly start an open-source project to (dynamically?) “adapt” the add-on format into a compose format for simplified non-supervised installation. Komodo is a promising foss project for container management, integrating it with HACS could be a quick win. Official support would be even better.
In my opinion, HA more desperately needs documentation and in-app UX improvements. Too many docs are HAOS-specific, which confuses novice docker users. Too many UI dialogs don’t auto-detect installation type to point you to the proper docs or repos. Even as a “supported” docker user it is common to feel like a second-class citizen. There is room for improvement.
I don’t think automatic updates are good. Especially based on how often HA breaks/deprecates stuff. At the very least, you only want to offer updates to the latest patch release of a monthly release at the start of the next month. You probably also want to parse logs for deprecation notices.
I think what is useful is having good documentation for docker images, good example are the lsio images: Images | LinuxServer.io