I don’t have an issue using a Linux based OS. that’s what the RPi uses.
I just don’t want to move away from a hassbian style HA.
I was reading the installation notes for HA in docker and it seems that the HA setup on a docker in windows could be problematic with zigbee and z wave?
If I have to install docker on a linux machine to make things easier then what is the advantage of running in a docker versus just installing directly onto the linux in a venv?
I find it easier but there are others around here that will say the venv is best for them. It’s a personal preference.
My main reasons are: A. I never have to worry about dependencies. B. I never have to install packages on my host OS to accommodate. C. Installing, updating, and rolling back take seconds…
The benefit of this layout is that I can run any service I want in other containers. Influxdb, MQTT, MySQL, postgresql, syncthing, node-red, etc. I find it extremely easier than dealing with all those apps living on one OS
@finity I agree with @flamingm0e. It is so much easier to just run a Docker command and have Docker install everything automatically for you than it is to have to struggle with installing the dependencies for each application that you want to run seperately. Docker also keeps all your containers’ data in one place so it’s really easy to back everything up in one go.
I have a NUC arriving tomorrow and will be migrating away from a rPi. Thinking I am also going to go the Docker route, sounds like it’s the easiest way to manage upgrades and such.
I would need to install a linux OS (ubuntu) onto the NUC. Then install docker. then in the docker container install home assistant. And if I need to install other software (zoneminder, mqtt, different python versions, different versions of ubuntu, etc) I would use seperate docker containers? Or install them in the same docker container?
After that how do I access the configuration files in docker?
Right now I use a local PC to SSH into my RPi for the command line stuff. and I use WinSCP and notepad++ to modify my yaml files and perform file functions (copy, move, rename etc) on the Pi.
If I’m not at my local PC I use Teamviewer to VNC into my local PC to do all the above.
For backups I pull the SD card out of the Pi and use Win32DiskImager to make an image so in case I need to restore from a (inevitable…) screw up I can be up and running on a restored known good install in a few minutes.
How would all of that work on a linux computer running a docker install?
And do I need to install the server version of ubuntu or would the desktop version work too?
You don’t ‘install’ home assistant in a docker. You just run the docker image.
That link explains that you want your config to live on the host in a directory you can access. Docker containers are designed to be deleted and rebuilt at any time. There should never be any data that you want retained INSIDE the container.
You can do the same here with a NUC running Ubuntu. I would recommend highly that you look at better editors though. Atom, sublime, or visual studio code. They’re just nicer to deal with.
You just need to backup your config directories. That’s it. That’s where your data lives. Your containers can be torn down and rebuilt from backups in minutes or seconds depending on where you backup your files.
It doesn’t matter. Desktop version gives you a local desktop interface whereas the server version gives you command line only. You don’t need all the things that desktop has for a docker host.