← Tous les guides
Node-RED
Node-RED is a flow-based visual programming tool for wiring together hardware, APIs, and online services, with an official Docker image maintained by the project.
Ce guide est élaboré à partir de la documentation officielle de Node-RED, dont le lien figure ci-dessus — vérifiez toujours les noms exacts des paquets/versions avant d'exécuter ces commandes sur un serveur de production, car les versions de la distribution et du projet évoluent avec le temps.
1Run the official image
This maps the editor to port 1880 and stores your flows and settings in the node_red_data named volume so they survive container restarts.
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:latest2Open the editor
Browse to http://<host-ip>:1880 to access the Node-RED flow editor.
3Add extra nodes (optional)
Node-RED's official images are built on Node.js Alpine to stay small; if a community node needs native compilation, build your own image FROM nodered/node-red and install it there, as documented in Node-RED's Docker docs.
4Use the minimal variant (optional)
A smaller image tag is available for deployments that don't need the extra bundled dependencies.
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:latest-minimal