Docker container exits immediately

Hello Everyone,

i am trying to run node-red on my wago pfc200-8204 which is assigned by a DHCP server. i am trying to run command to start node-red however it creates the container to start it, for momentarily and then exits immediately. Is this can happen due to firmware as i just changed firmware recently for factory resetting. Here is more detail about my error.

root@PFC200-41E863:~ docker start 30bffb3b7ff0
30bffb3b7ff0
root@PFC200-41E863:~ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
30bffb3b7ff0 nodered/node-red “npm --no-update-not…” 3 minutes ago Up 2 seconds (health: starting) 0.0.0.0:1880->1880/tcp wago-node-red
root@PFC200-41E863:~ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
30bffb3b7ff0 nodered/node-red “npm --no-update-not…” 3 minutes ago Exited (135) 6 seconds ago wago-node-red
root@PFC200-41E863:~ timed out waiting for input: auto-logout
Connection to 192.168.1.20 closed.

Please help. Thank you

Hello,
Take a look to the logs to see what’s wrong with this container :

docker logs wago-node-red

Or start the container interactively (-ti instead of -d)

Hello thanks for the help. i actually think that if you install older firmware on wago (3.0.59 (12) I believe), we cannot run latest versions of the node-red somehow. i installed version 8 of the node-red, which is quite old and it ran alright on the web browser.

Thanks

This is the error i am facing if i try to run newer image of the node-red instead of rpi-v8 version image.
Not sure how to avoid this or what is causing it.

The 750-8202 has less memory than the newer 750-8212. Because of this, starting with FW19 requires a different firmware. These can be downloaded & installed with e!COCKPIT directly if the PFC is FW12 or higher (see image below). If your PFC is running FW8, you will need to update with an SD card. Here is FW17 link, which you can unzip and image.

https://github.com/WAGO/pfc-firmware/releases/download/17-v03.05.10/WAGO_FW0750-8xxx_V030510_IX17_r50384.7z

Once this is installed you can update using e!COCKPIT and select the version for the Generation 1 PFC200.
I would recommend FW19+ if using Docker.

1 Like

Hello thank you very much for the response. the source of the problem was :

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.

from this resource.

Version 3.0 works well on Generation 2 PFC controllers. The 8204 is a generation 1 and was replaced with a higher performing, expanded storage version with no price increase a few years ago for this reason. The 750-8214 runs NR version 3.0 very nicely. I would suggest upgrading the controller to allow for this functionality.

1 Like

I got the same issue. Try adding
–security-opt=seccomp=unconfinedto thedocker run` command

it worked for me

2 Likes