Article · Cloud
Install and configure node-red on synology dsm 6 with docker
Note, November 2026: this guide was written in March 2023 for DSM 6. Since DSM 7.2, Synology has replaced the Docker package with Container Manager, so the screens below may differ.
I had some difficulties when installing node-red on a synology server thanks to docker.
The main problem : the node-red instance does not use any dns server by default.
I managed to map /etc/resolv.conf of the container with a custom resolv.conf, but after that, the container cannot communicate with another container easily.
In my case, I want to use in Node-red another container influxdb by its « influxdb1 » name, but influxdb1 as a hostname was not found by node-red with a mapped /etc/resolv.conf.
I had to re-create a node-red container with the --dns parameter for the command line.
(impossible to update this setting after the container is created)
1 - Download Image

2 - Create a "data" folder

3 - Configure the node-red container



DO NOT FORGET THE --dns 8.8.8.8 --dns 8.8.4.4 as parameters !

Protect admin node-red with user/password
Launch a « bash » terminal window

go to /usr/src/node-red/node_modules/node-red-admin/
start node-red-admin with « hash-pw » as a parameter
type your password, note the hashed version 🙂

modify the « settings.js » in the mapped /data folder

Going further
I also maintain Node-RED nodes for energy equipment: node-red-contrib-melcloud for Mitsubishi heat pumps, node-red-contrib-ecoflow for EcoFlow batteries, and node-red-contrib-solaredge-power for SolarEdge inverters.
Working on an industrial IoT project? I design and build them, from the sensors to the cloud: see my offer (in French).

Yannick Simon, ingénieur Arts et Métiers, ancien DGA et CTO de Rue du Commerce. Il conçoit aujourd’hui des solutions IoT, mobiles, cloud et IA pour l’industrie.
Parlons-en