New installation on docker in OpenWRT

Hi All, was using home assistant OS in a VM housed on my NAS previously for 2 years.

I am trying to migrate over to OpenWRT as I have more computing power (x86) on it. I have successfully gotten docker install on OpenWRT and was confused with the large list of official images that are available on hub.docker.com

I would like to understand more if there are any differences between those that are listed an if the architecture actually matters in this case. Naturally, which of these should I use?

  1. https://hub.docker.com/r/homeassistant/home-assistant (has links to official method, with the docker create/run script)
  2. https://hub.docker.com/r/homeassistant/generic-x86-64-homeassistant
  3. https://hub.docker.com/r/homeassistant/qemux86-64-homeassistant (a youtube video recommended this)

Or any others?

You should use the one in the official docs.

ghcr.io/home-assistant/home-assistant:stable

if not that one, use option number (1) since Docker will work out the platform for you, and saves you pain in the future.

1 Like

Thanks, yes 1) has a link that will point to the link you shared. I will try that.

I am getting the following error. I found a similar error online regarding the specification of block IO weight, I specified 500 and 1000 and still unable to start the container.

Containers: start hass...code:400 failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: openat2 /sys/fs/cgroup/docker/d482867fe08504edd1df3e050e6b0c88625f13ea254053d97a67b9a19cf082f0/io.weight: no such file or directory: unknown

hey man ,i got this error too,did you solved it?

Setting the block IO weight to zero seems to be working.