Is it possible to install HA on Ubuntu Linux without using Docker? If so, a link would be appreciated.
Please excuse the NOOB. But I’m a fast learner.
Is it possible to install HA on Ubuntu Linux without using Docker? If so, a link would be appreciated.
Please excuse the NOOB. But I’m a fast learner.
It’s in the docs, but if you don’t know Linux, it’s not recommended.
And, truthfully, I feel many more questions coming.
Not trying to be mean, but Linux install IS in the install page.
Don’t do this. You don’t even really need to learn to use docker. Learn to create a compose file (or ask for an example) and do it that way. Installing HA Core onto a base Linux OS is going to basically cause pain and regret. Not that it can’t be done, but HA in a docker container (or HAOS in a VM) is a MUCH better experience.
Don’t do this either. My position is, why complicate your installation with a container or virtual machine? (Unless you plan to do non-Home Assistant stuff on the computer).
You didn’t say which computer you are planning to use, but my recommendation is to flash the image for HAOS to the computer’s boot device. Done.
Don’t you diss my favorite installation method (Container)!!! But yeah, Container is slightly more advanced. Over a straight Core install, I’d take Container installed on a potato though.
If using Ubuntu, I believe I noticed a Snap package available in the Snap Store. Would imagine it would make installing easier, but just a guess.
I rarely use Ubuntu and even more rarely use Snap packages, but just happened to notice it while doing maintenance on an old machine yesterday.
You’re fast learning people think you should not do this. I agree, but I’m not sure people are explaining why. HAOS has the following benefits (plus more I can’t think of right now):
The main “disadvantage” of HAOS is that is an OS, and therefore runs on the whole machine. This is why many people will run it in a VM, so the machine can be used for other things too. If you don’t need this, just install HAOS on the machine - you can always change later with a backup/restore to move HA.
If you do use a VM, unless you’ve got a good reason to use Ubuntu, Proxmox is arguably a better environment for this use-case. I started off with Ubuntu + VirtualBox, and switched to Proxmox at the start of the year, and it is SOOO much better. You can always create another VM for Ubuntu use.
Go to Linux - Home Assistant and skip down to “Install Home Assistant Core”.
A simple answer to a basic question isn’t so difficult is it?
That’s not a noob question, it is in fact a very good question. Why have docker if all it does is simplify installation? It adds needless software layers for a benefit that is really hard to justify. HA is mostly python based, any system with a working python install should be able to run it. There are some components that are native that would require adapting to the current OS but they all exist for almost any flavor of linux and hardware. Most answers in this thread are ridiculously not constructive. Only one of them provides useful information by saying that add-ons require docker. I run HA on windows without docker and can install most add-ons without problem. This add-ons docker requirement might have been introduced in more recent versions (not sure if the info is accurate in the first place), but is also as unjustified as the docker coupling for the whole HA software. Docker is not a deployment or installation tool, it is a virtualization tool that allows several instances of the same service to coexist on the same machine. When this is not needed there should be no docker requirement. Installation and deployment scripts have always been part of any linux based software, it makes more sense to have some complexity once rather than add permanent software layers to avoid said complexity.
I really wish this discussion would not be so lightly dismissed by people who don’t even seem to understand the stakes.
How? HAOS is an operating system. It cannot be run as a Windows program. You either run it in a virtual environment or on bare-metal. If you run it on bare-metal, Windows no longer exists as it is replaced as the operating system.
HAOS itself is in a Docker container and all add-ons are also in Docker containers. The kernel of the OS is a stripped-down builder’s version of Linux and this is where the Docker containers are managed. The beauty of HAOS is that Docker is managed for the user. You never need to worry about memory management, port forwarding or any of the Docker learning curve. I would posit that most HAOS users don’t even know they are running Docker containers.
So the answer to the OP question is Yes and No. You can install HAOS bare metal and never worry about the underlying Docker containers, or you can install Docker on your OS (Windows or Linux) then install the Home Assistant Docker container and any add-on Docker containers you want. Of course, then you need to manage memory and port forwarding yourself. Why anyone would prefer the pain of the Docker installation baffles me.