Do I need Hassio and if so, is there an easy way to run it inside Docker ?
Been running HASS/HASSIO for a while is now beginning to understand a bit about how hassio works, and it seems pretty smart
I have had a few SD cards die on me, so now I have taken the time to move my HASS installation to a computer with docker, and run it all in containers, together with my other small projects.
My plan is to use docker-compose, with data external to docker. And it was pretty easy to make a configuration and get HASS up and running. And it was fun to see, that it found all my Ikea, Sonos, Phillips, ESPHOME objects - still need to get my USB-zWare stick moved over to get the rest.
But here I was hit by the absence of hass.io , and after a bit of reading I think I have come to this conclusion.
In a normal hassio image, there is the ‘host’ setup, where hassio/supervisor ‘image’ is running, and with some sort of docker setup, runs the other ‘add-ons’ here in containers. Hope this is close to being right.
And what I understand from my reading, it should be possible/easy, when building your own computer with docker, to run the ‘supervisor’ in the hostsystem (by installing a few add on tools), and then in docker, be able to have hass.io run the add-ons.
But, as I understand, here haas.io is installed outside of docker, in the ‘host’. I would like a setup, where the supervisor image and all other images are running inside docker/containers.
So, to the question.
-Is it possible to have a setup where all hassio elements are running inside docker/containers ? Maybe grabbing a ‘supervisor’ image from hub.docker.com and when it boots up, have it spann new/needed containers (with node-red, esphome,…).
-Or, is there no real need for hassio ? If you have docker, and a docker-compose, then it should be fairly easy to define needed ‘adds-on’ like node-red, esphome,… (and maybe this is also the conclusion from the work done by gcgarner/IOTstack, where it looks like docker-compose is used to define and launch the ‘add-ons’ that hass.io would do).
Looking forward to be enlightened