Current size is 374MB with basic Node-Red UI.
Base and production ready images on alpine:3.21
, Build Stage through: nodered/node-red:4.0.9-22-minimal
docker build -t node-red-slim:latest .
docker run -d --name=my-slim-nodered \
-e NODERED_AUTH_ADMIN_USERNAME=admin \
-e NODERED_AUTH_ADMIN_PASSWORD='$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.' \
-p 1880:1880 \
node-red-slim:latest
here the encrypted password is password
as an example
There is a known issue when running on raspberry pi which requires the following when launching the container. The --security-opt seccomp=unconfined
be added to your run command or to your compose file:
#required on raspberry pi - alpine slim >3.13 fails to ping
security-opt:
- seccomp=unconfined
docker-compose build nodered-slim && docker-compose up
Thank you to Shantanoo Desai [email protected] for providing a fork as the original template.