tobiash / hdmi-cec-mqtt

Control a HDMI CEC adapter (PulseEight/Raspberry Pi) via MQTT
GNU General Public License v3.0
7 stars 1 forks source link

Issues starting container... #4

Open boojew opened 4 years ago

boojew commented 4 years ago

When I try starting the container, I can not get it up and running. If I understand the docs, the HDMI port on my rpi is /etc/ttyAMA0, and so I have mapped it as such below... but I have also tried w/ ACM0, with no sucess


ben@raspberrypi:/home/pi# docker run --privileged -e MQTT_URL=tcp://192.168.0.229:1883 -e CEC_DEVICE=/dev/ttyAMA0  -v /dev/ttyAMA0:/dev/ttyAMA0 tobiasha/hdmi-cec:latest
standard_init_linux.go:190: exec user process caused "exec format error"

OR

ben@raspberrypi:/home/pi# docker run --privileged -e MQTT_URL=tcp://192.168.0.229:1883  -v /dev/ttyAMA0:/dev/ttyACM0 tobiasha/hdmi-cec:latest
standard_init_linux.go:190: exec user process caused "exec format error"
tobiash commented 4 years ago

There are no images for ARM available yet, at the moment there is only amd64. It should be possible to build it on a raspberry, provided there are arm-compatible versions of libcec.