# Intra-Docker (ea with NR) Container Communication - sending msg.objects to one another

**URL:** <https://discourse.nodered.org/t/intra-docker-ea-with-nr-container-communication-sending-msg-objects-to-one-another/20930>\
**Category:** General\
**Created:** [27 January 2020 20:39 UTC](https://discourse.nodered.org/t/intra-docker-ea-with-nr-container-communication-sending-msg-objects-to-one-another/20930 "2020-01-27T20:39:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IoTPlay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iotplay/32/40_2.png) [@IoTPlay](https://discourse.nodered.org/u/IoTPlay)\
**Post date:** [27 January 2020 20:39 UTC](https://discourse.nodered.org/t/intra-docker-ea-with-nr-container-communication-sending-msg-objects-to-one-another/20930/1 "2020-01-27T20:39:22Z")

</div>

Hi, I would like to modularise my Node-RED applications - as each are on a separate upgrade path.

I would like to have several Node-RED Docker Containers, on the same host, all containers running Node-RED with their own set of flows, that then uses the --link Docker definition to send msg.objects to one another.

I could do this via mqtt, but was wondering if I cannot exploit intra-container comminications?

---

<div class="post-metadata">

**Author:** ![hominidae](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hominidae/32/4174_2.png) [@hominidae](https://discourse.nodered.org/u/hominidae)\
**Post date:** [30 January 2020 20:14 UTC](https://discourse.nodered.org/t/intra-docker-ea-with-nr-container-communication-sending-msg-objects-to-one-another/20930/2 "2020-01-30T20:14:42Z")

</div>

...not quite sure as such a thing exists.  
I am under the impression, that a docker instance is a "tight" as a virtual machine, when it comes to i/o interchange.  
So using a form of docker networking would have to be the basic layer and concept.  
Using internal docker DNS should enable you not to only use mqtt but http or other TCP/UDP based transport methods.

...or even a database...  
Have you seen this: [https://flows.nodered.org/node/node-red-contrib-redlink](https://flows.nodered.org/node/node-red-contrib-redlink) ..looks interesting

---

<div class="post-metadata">

**Author:** ![IoTPlay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iotplay/32/40_2.png) [@IoTPlay](https://discourse.nodered.org/u/IoTPlay)\
**Post date:** [31 January 2020 18:55 UTC](https://discourse.nodered.org/t/intra-docker-ea-with-nr-container-communication-sending-msg-objects-to-one-another/20930/3 "2020-01-31T18:55:52Z")

</div>

Dis see that, but forgot, thank you for the advice!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 March 2020 19:06 UTC](https://discourse.nodered.org/t/intra-docker-ea-with-nr-container-communication-sending-msg-objects-to-one-another/20930/4 "2020-03-31T19:06:44Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
