But if you read the script, you can probably duplicate it in a way that works for your system. You can’t just pull in the docker images, there is more setup required than that, as indicated in the script.
Using this ‘docker run’ command with the needed variables, i have managed to setup a docker container for supervisor.
So i thought this should also be able for HASS.IO. But unfortunately im not an export reading the ‘hassio_install’ script and be able to change it to a ‘docker run’ command.
Im not familiar with QNAP in much detail, but if I remember correctly some models have virtualisation support. Would it be possible for you to create an ubuntu VM, install docker and then install hass.io on docker in the VM.
My HA setup deployed on my home made NAS that is running VMWare ESXI and its running in exactly this way - ubuntu with docker and hassio deployed.
This way all the hassio addons should work etc.
You are absolutely right… but…
Because QNAP has a own Docker environment by itself i rather not wan’t to install an extra Ubuntu environment. That’s doesn’t seems very smart to me.
I am hoping to setup/install just the two containers:
supervisor
hassio
within Docker.
I only can do this using docker commands (like the Supervisor docker run string) and not the linux commands like Curl etc. These are not excepted by my NAS.
You can give it a go, but I think you will run into problems. that post was written in the v early days of hassio and its changed and improved a lot over time.
A VM is very light weight.
I am using Ubuntu server minimal install and its a few 100 mbs.
When its not doing work its using almost no CPU/memory.
No reason (other than your time) you cant experiment with both though.
but I think you will get a better return on investment with a VM approach
what part is stumping you? It’s not all about the docker run command, some of it is setting up shared storage for the containers, and some of it is configuring env vars.
I have been able to setup a container for superviser including (i think) al the variables i need. But i’m not sure which variables i need for setup the Hass.io container.
Environment preferable for my QNAP (in my opinion):
I have read in forums that it is possible to run hass.io and supervisor in a Docker environment. That’s why i think this is the best way to setup, on my Qnap i mean.
This option give an extra layer. Results in less performance. That is why i’m trying to avoid this.
But again, i might be wrong. not sure what the best
So why not spend some time reading the script? It’s not very long, and once you start reading through it, things will click into place.
You are looking to do something that isn’t documented, because nobody does it. There are other choices people prefer when it comes to HASSIO.
Dedicated Raspberry Pi
Run the script on a Linux machine
Use the VMDK to create a VM
It’s not going to be as simple as a docker run that someone gives you. You will need to figure it out, and if you would read the script, it would make more sense to you.
Im on Day 3. My Journey with my Qnap 679pro has been
QNAP Container --> Docker
Install default QNAP HA (v65)
Reinstall with HA v92
As a HA newbie (but I think the greater portion of people in here will be from the IT industry), 90% of guides are from Hassio or reference hassio eg simple stuff like editing yaml, youd just install the configurator. QNAP youre editing the file from file manager after you install the text editor which is also a different port forward becuase you need the admin console.
I would call the learning slower as you need to figure out the work around from that environment. As you say @flamingm0e if you want it to be simple buy a pi. (or NUC as the guides are now saying
Now I may troddle off to figure out how to load a hassio container… haha!
Check this reddit out
I followed the steps on that website twice and nothing happened. The script ends with no errors but no container is created. I tried to manually run the script line by line but couldn’t find any issues.
After a few minutes total of 6 containers are added in Container Station, all but one are running. The one that’s not running is hassio_dns -container. After few minutes I tried to connect 192.168.0.3:8123 on my laptop but it won’t show anything. I tried to install the home assistant before trying supervisor version and got it working with the same ip:port. I did however changed the setting on the container under Network for “Network Mode” to “Host” on my previous install which worked. Do I need to change the same setting for “Host” to all these 6 containers or what might be causing why it’s not working? Does it affect that my QNAP is running Celeron, not AMD? I’m semi-noob but trying to learn :).
Thank you for all above advice in this thread. I tried to run same setup as Hypnoosi but got the error: Unable to find image homeassistant/amd64-hassio-supervisor locally
Similar to install commend for the basic HA (as per the first post in this thread) install the error is
Unable to find image homeassistant/home-assistant locally
@hypnoosi I installed the Core version, not Hassio. To get it to work i also had to make some changes on the network settings of my QNAP to connect the docker to a network adapter.