node-red-contrib-dockerode 0.14.0

node-red nodes to communicate with docker

npm install node-red-contrib-dockerode

This Node RED module connects Docker with Node-RED.

Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways.

:sparkling_heart: Support my projects

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

Thank you to all my backers!


Become a backer

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like :rocket:

  •  —  Use my referral link to sign up for and we both get $25 USD :)

  • PayPal   —   You can make one-time donations via PayPal. I'll probably buy a coffee tea. :tea:

  • ko-fi  —  I'll buy a tea coffee. :coffee: :wink:

Thanks! :heart:

:cloud: Installation

First of all install Node-RED

:yum: How to contribute




  • Using Node-RED in a Docker-Container

The Node-RED container must have access to the docker.sock, so you have to add the docker-group ID to the container with

docker run ... --group-add 250
the ID 250 may be different on your system.

Exposing TCP-Daemon port

  • hostname hostname of docker (e.g. "localhost")
  • port port of docker (e.g. "2375")

In order to expose the docker-engine TCP daemon, you have to do the following:

  • Docker for Windows / Docker Desktop:
    Under Settings / General check "Expose daemon on tcp://localhost:2375 without TLS"


  • Docker-CE



# File: /etc/default/docker
# Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS="-H tcp:// -H unix:///var/run/docker.sock"


# File: /lib/systemd/system/docker.service
ExecStart=/usr/bin/docker daemon -H fd:// -H tcp://

Node Info

Version: 0.14.0
Updated 11 months, 2 weeks ago
License: MIT
Rating: 5.0 2




19 in the last week


  • docker-configuration
  • docker-events
  • docker-swarm-actions
  • docker-engine-actions
  • docker-config-actions
  • docker-image-actions
  • docker-container-actions
  • docker-service-actions
  • docker-task-actions
  • docker-node-actions
  • docker-secret-actions
  • docker-network-actions
  • docker-volume-actions
  • docker-plugin-actions


  • node-red
  • docker



  • naimo84
  • ethanbrooks