MirrorNest
← All 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.

Target: Any Docker hostAutomationOfficial homepage ↗Official docs ↗
This guide is synthesized from Node-RED's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
  1. 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:latest
  2. 2Open the editor

    Browse to http://<host-ip>:1880 to access the Node-RED flow editor.

  3. 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.

  4. 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