Cannot run docker image - no code found
Opened this issue · 4 comments
Hi, I've tried running docker container both latest (1.2.3) and 1.1.15 on a raspberrypi and for each version I receive the following error and the container doesn't start:
#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0x7ece866c
Usually I try to find solutions by myself but I'm stuck here as don't see any code in the github repository. Thanks for your help.
Which Raspberry Pi and OS are you using? I've had to sign an NDA unfortunately so the code can't be published.
Thanks for your answer.
- Raspberry Pi 3 (armv7)
- Raspbian GNU/Linux 10 (buster)
Makes sense for the NDA.
In the meantime I've extracted app binary from docker file and I was able to run it by calling it directly:
➜ /tmp ./texecom2mqtt
2022-01-23 10:40:04 - INFO: Starting texecom2mqtt v1.2.3 (Node v16.13.0)...
2022-01-23 10:40:04 - INFO: Connected to alarm, sleeping for 2 seconds...
2022-01-23 10:40:06 - DEBUG: Executing serial number command
2022-01-23 10:40:06 - INFO: Connection ready
...
The issue lies within docker image for armv7 and was introduced in version 1.1.8. I can run 1.1.7 fine but 1.1.8 (and all versions above) gives same error. I'd say there is a dependency missing as it runs outside the container and also the image size has been seriously reduced between these two versions:
dchesterton/texecom2mqtt 1.1.8 cbd6dc3a9f5a 6 weeks ago 82.3MB
dchesterton/texecom2mqtt 1.1.7 c35258b32455 7 weeks ago 173MB
Hi, do you have further thoughts on the issue? I'm happy to help. Thanks.
I've done additional tests. if I export non-working docker image filesystem, chroot into it then run texecom2mqtt it works. I still cannot figure out why docker image is not working. Any thoughts?