angelnu / docker-ccu

Script to create a docker container with the CCU2 firmware
Apache License 2.0
33 stars 14 forks source link

Docker on Synology x86 refuses to launch #34

Closed BerndGewehr closed 3 years ago

BerndGewehr commented 5 years ago

I get this error when I try to run the container on a celeron-based Synology NAS:

standard_init_linux.go:189: exec user process caused "exec format error"

Any suggestions?

angelnu commented 5 years ago

You will need to prepare your NAS kernel to run arm binaries before stating the CCU: docker run --rm --privileged multiarch/qemu-user-static:register --reset

Since key components do not start a native x86 docker container is preferred. There is a version here: https://hub.docker.com/r/litti/dccu2-x86_64/ . It is not the latest but since I am not making progress with my own version is the only version available right now.

nicx commented 4 years ago

any progress with the x86 version? I would love it ;)

angelnu commented 4 years ago

Not here but maybe you can try https://hub.docker.com/r/litti/dccu2-x86_64/

I have not tried it myself since I have a dedicated ARM node in my K8S cluster for the homematic CCU.

angelnu commented 3 years ago

Version on x86 available - see https://github.com/jens-maus/RaspberryMatic/wiki/Docker