Absolute Beginners guide to installing HA on Intel NUC using Docker

When updating 105.0 today i noticed i had fallen behind on HA Supervisor versions. When I was running Hass.io on the RPi, Supervisor updates were automatic. Looking at the system log, I noticed the following:

20-02-05 21:58:35 WARNING (MainThread) [hassio.dbus.rauc] Host has no rauc support. OTA updates have been disabled.

Is lack of rauc support on Ubuntu the reason for the OTA (over-the-air) Supervisor updates not occurring? If so, what steps would be necessary to enable a rauc client or server on my NUC?

THANKS, that saves my day (what’s left of it)!

1 Like

You mention this a couple of times in this thread, but isn’t it so that you either choose standalone ha on docker (still able to use the nuc for other things) or install hassio as per the guide you are linking to (making your nuc a dedicated hass machine). You know, like @piyush describes in the guide…? Like he specifically says he does not want or recommend?

As far as I can see “hassio on docker” is not a supported option

No. They changed my link. (believe it or not, a lot of things can happen and change in over a year)

It doesn’t turn it into a dedicated HASS machine.

It’s not officially called “hassio on docker”, it is now referred to as “home assistant supervised”

So if I follow the top instructions on that page, downloading the nuc image, flashing to SD card with balena etcher, I can still use the NUC for other stuff than home assistant?

I was looking into the “home assistant supervised” option, but I’m having a hard time understanding what it actually is. The disclaimer is pretty discouraging though, even going as far as saying:

In most cases, it’s not the best choice to run the Supervisord on top of a Linux, if you not 100% sure what you do. It is not just a container inside Docker!

I definitely fall in the not-100%-sure-what-to-do category, but from this text I concluded that I can’t just run hassio in a container inside docker.

NO. Follow my link in my last comment. The link I provided in the older post was from over a year ago. The URL changed and now clicking it takes you to the WRONG section.

It’s “HASSIO” running on your normal every day Linux machine…that gives you all the functionality of HASSIO, or “Home Assistant” as they like to call it now, but you have the flexibility to run whatever you want on the host OS, which is just Linux.

Well, first of all, we will all get yelled at if we say “Hassio IN Docker”, for some reason, even though that’s what it is. You are running Home Assistant Core, with the SUPERVISOR in Docker, on your Linux machine. Imagine if you take the SDCard image for Home Assistant on the PI, and you had a way to “install” just that to a NUC running Linux.

1 Like

I have a smashed surface pro 3 i5/8gb/512ssd just wondering if it was possible to do this same type of setup as this? I believe they are similar hardware, I have a USB 3.0 to Ethernet adapter that works perfectly on it in Ubuntu too so it would be hardwired of course not WiFi.

Do you use this command: sudo usermod -aG docker $USER

I’ve finished my install following these instruction on my new NUC 10 with Ubuntu 20.04. I’ve assigned and reserved a static IP for the NUC. Hass is up and running and I can access the Hass UI from the NUC’s browser.

I’m now setting up access to the NUC from my Windows desktop. I can SSH into Ubuntu. What I cannot do is pull up the Hass UI on my Windows browser. I can pull up another Hass instance on a Rpi4 from my Windows browser.

Any ideas what might be preventing me from pulling up Hass on my Windows machine?

If anything, I’d put this as a con. Having only used Home Assistant Core on Raspberry Pi so far, this is probably the only thing I’m not looking forward to about moving to an Intel NUC.

Otherwise, I’m keen to begin working through the guide!

1 Like

Great guide! Thank you!

I did a setup on a VM today using it (waiting for my NUC to be delivered) as rehersal.
I had to grant extra right to be able to install docker portainer.

sudo usermod -aG docker $US
sudo chmod 666 /var/run/docker.sock

Thanks for the great guide!
Hassio works well so far, but somehow it came without Supervisor and I have no idea how to install it… Am I doing something wrong and would just have to install it by myself or should the installer have done that and I would have to run it again?

(Ubuntu 20.04 Server on my NUC)

This installation method doesn’t install a supervisor. It is just for installing HA Core in Docker.

to install the full HA Supervised installation you will need to re-install using the correct script. You can’t install the supervisor later after you have already installed it this way.

Also the name is not Hassio. It’s Home Assistant. There are several ways to install it. two of those ways gives you the supervisor. Those are HA Supervised and HA OS.

You will have to decide which way you want to install it and then follow the instructions for those methods.

HA OS instructions can be found on the main HA site under “Getting Started”.

The other method instructions are in the community guide wiki post for that method.

1 Like

Thankyou. This is a great summary and article to get HA and docker running on ubuntu.
I went down the Pi path under docker but have up when HA kept corrupting itself on the sd card.
So have a core 5 intel desktop and will try using your guide to get it all installed. I especially liked your summary of the pros and cons of what to load as it cleared up the confusion with all the options so thankyou .

Great guide! Thank you!! :star_struck:

but i have problems with the install-guide:

docker create volume mosquitto_data

=> dont work. Error:
Unable to find image ‘volume:latest’ locally
Error response from daemon: pull access denied for volume

it works for me:

sudo docker volume create mosquitto_data

next Error is:

 sudo gedit /srv/homeautomation/mosquitto/mosquitto.conf

sudo: gedit: command not found

After install gedit:

sudo apt install gedit

Unable to init server: Could not connect: Connection refused
*(gedit:37387): Gtk-WARNING *: 15:55:55.247: cannot open display:

i missing the upgrade?!

sudo apt-get upgrade

 sudo nano /srv/homeautomation/mosquitto/mosquitto.conf

“nano” works fine for me, to edit the file.

The portainer is running in the version 1.24.1.
We need to Update for the portainer 2.0 ?

Thanks All!!

That’s because the portainer image is now portainer/portainer-ce

is that good or bad? :slight_smile:
i can update the portainer or i stay on the version 1.24.1 ?

Hi!
What is the difference using Docker-compose instead of Docker in terms of procedure and Pro/Cons, please?
Thank you.

you should change. the old image is not supported any more. see below

https://hub.docker.com/r/portainer/portainer

maybe start with this