ParadoxAlarmInterface / hassio-repository

HASS.IO repository
Eclipse Public License 2.0
11 stars 17 forks source link

Docker image not running on Pi 0 W hassOS #5

Open singe opened 4 years ago

singe commented 4 years ago

The docker image wasn't running on hassOS on a Raspberry Pi Zero W.

Arm architectures don't seem to have a canonical arch name (armhf, armv6l, arm/v6 oh my) and I got a little confused. It seems the 1.3.1 docker image doesn't have a arm/v6 image (from https://hub.docker.com/r/paradoxalarminterface/pai/tags) but even when I tried 1.4.0, latest, or dev-latest which do have an arm/v6 build they just didn't run.

I built a new image with BuildKit from a clone of the pai repo, and this ran fine: docker buildx build --platform linux/arm/v6 -t singelet/pai:latest --push .

https://hub.docker.com/r/singelet/pai/tags if you'd like to inspect it.

yozik04 commented 4 years ago

Can you install mosquitto hass addon there? Does it run? I took all config from there.

yozik04 commented 4 years ago

Did you built on your Pi Zero?

singe commented 4 years ago

I build it on my mac using BuildKit to cross compile for that arch.

Yes, the mosquito mqtt add-on installed and ran fine.

yozik04 commented 4 years ago

Maybe it is solved now in dev-latest. It is actually docker bug from 2017...