Why does the docker container exits immediately? on PLC

373 views Asked by At

I am running docker on a WAGO-PFC 8204 device and successfully able to install an image for node-red flow based editor. However, when i am trying to run the image, it creates a container but automatically exits. I am not running this image on a linux machine itself but instead of other device. I ran docker logs [container name] but output was Error: fatal error, line 0. Please see the image attached.

Please help anyone if you can. Thanks

Error Image

1

There are 1 answers

0
hardillb On BEST ANSWER

This is because version 3.0.0 of the Node-RED Docker container will not run on old versions of Docker that do not support 64bit time on a 32bit OS.

You can try adding --security-opt=seccomp=unconfined to the docker run command or upgrade docker/libseccom to a supported version of the latest apline base container.

Details of the minimum version are in the release notes on github

https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements

https://github.com/node-red/node-red-docker/issues/319

Work around:

Use the nodered/node-red:2.2.2 container rather than the new 3.0.0 (latest) tags