janbenes
(Jan Benes)
November 18, 2022, 9:47pm
1
Hello. I am not that experienced with docker, but I found that within docker, the container can run in other linux distro provided that kernel is the same. So why is Ubuntu not supported for hass-supervised and Debian is, if the container itself can run as “Debian” within Ubuntu?
I followed homeassistant-supervised installation guide on Ubuntu and of course I have got warnings about misaligned version of Linux, but should it be possible to configure the container that it runs in Debian environment?
Jan
tom_l
November 18, 2022, 10:33pm
2
Debian OS was chosen as the developers do not have the resources to support all other operating systems.
# 0012. Define supported installation method
Date: 2020-06-03
## Status
Accepted
## Context
If you look at our documentation, it’s all over the place. Install it in Docker, in a VM, on a NAS or on one of the many Linux distributions.
The reason we have this many guides is that since the start of the Home Assistant website, we have always gladly accepted every contribution to get Home Assistant running on any platform. The more the merrier!
However, in software, nothing ever stays the same. All software gets updates to fix bugs, fix security vulnerabilities, improve performance or to add new features. As a software application you need to grow along or else you get stuck with an insecure system.
So as Home Assistant grows and evolves, some of these installation guides became outdated and stopped working. We wouldn’t even know it was broken until a user raised an issue. But when they do, we wouldn’t know how to fix it unless we could get a hold of the original contributor.
This can be frustrating. Any guide on our official website should lead to a working system. A system that not only works today, but also tomorrow.
This file has been truncated. show original
This is probably the worst type of supported installation to choose and is only barely tolerated by the developers under some very strict conditions:
# 0014. Installation method: Home Assistant Supervised
Date: 2020-06-03
## Status
Accepted
## Context
Define a supported installation method as per [ADR-0012](https://github.com/home-assistant/architecture/blob/master/adr/0012-define-supported-installation-method.md).
## Decision
This installation method provides the full Home Assistant experience on a regular operating system. This means, all components from the Home Assistant method are used, except for the Home Assistant Operating System. This system will run the Home Assistant Supervisor. The Supervisor is not just an application, it is a full appliance that manages the whole system. It will clean up, repair or reset settings to default if they no longer match expected values.
By not using the Home Assistant Operating System, the user is responsible for making sure that all required components are installed and maintained. Required components and their versions will change over time. Home Assistant Supervised is provided as-is as a foundation for community supported do-it-yourself solutions. We only accept bug reports for issues that have been reproduced on a freshly installed, fully updated Debian with no additional packages.
This method is considered advanced and should only be used if one is an expert in managing a Linux operating system, Docker and networking.
This file has been truncated. show original
If you are happy managing Docker containers then choose a Container install instead.
If you want access to managed containers (add-ons), choose Home Assistant OS in some type of VM.
janbenes
(Jan Benes)
November 18, 2022, 10:54pm
3
Thanks. The docker installation is a bit unclear, I found several guides with different info:
docker installation of home assistant core, not supervised
docker installation of supervised, but with note that it only runs on Debian not Ubuntu (“Debian Linux Debian 11 aka Bullseye (no derivatives)”). Why is that? If it is Debian container and it runs on debian-supported kernel, then it should not matter what is the host system, right? Yet it gave me errors about OS…
tom_l
November 18, 2022, 10:57pm
4
It is not a Debian container. Debian is the required underlying OS as per the linked ADRs in my post above.
1 Like