You are using the “rpi-v8” tag. This will point to a specific version of the image which seems to be deprecated.
https://github.com/node-red/node-red-docker/issues/130
You should you the normal image tag (or maybe the minimal version).
Take a look to the documentation in Docker hub, or see if latest tag have a arm v7 version in the tag tab. Now a lot of images will auto-detect the architecture used. It will use the arm32v7 image automatically.
More information here :
https://hub.docker.com/r/nodered/node-red/
https://nodered.org/docs/getting-started/docker (See “Image variations” chapter)
Don’t forget to remove your old image and container otherwise you will soon reach out the internal flash limits !
Here is what I’ve used : docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered --security-opt=seccomp=unconfined nodered/node-red
(I wasn’t familiar with the seccomp issue in 3.0 version : Docker container exits immediately - #6 by RBSI)
Consider using --log-opt max-size=10m --log-opt max-file=5
when calling the container to avoid a failure cause by too much log https://www.wago.community/t/node-red-stops-responding-on-cc100-after-10-12-hours/190