# Creating nodes in node-red containers

**URL:** <https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643>\
**Category:** Developing Nodes\
**Tags:** docker\
**Created:** [13 September 2022 07:32 UTC](https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643 "2022-09-13T07:32:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![elvisj007](https://avatars.discourse-cdn.com/v4/letter/e/71e660/32.png) [@elvisj007](https://discourse.nodered.org/u/elvisj007)\
**Post date:** [13 September 2022 07:32 UTC](https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643/1 "2022-09-13T07:32:22Z")

</div>

I want to create new nodes and install them to the "node\_modules" in a node-red docker container running on my system. How can i do this?  
I am familiar with creating and packaging new nodes in Node-red installed locally in my system.  
I am very new to docker. Any leads will be really helpfull.  
TIA

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [13 September 2022 08:17 UTC](https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643/2 "2022-09-13T08:17:04Z")

</div>

Are you using docker for a reason? It does add complexity.

If you do need to use it then I believe the node red docs include examples of how to install additional packages. [Running under Docker : Node-RED](https://nodered.org/docs/getting-started/docker)

---

<div class="post-metadata">

**Author:** ![elvisj007](https://avatars.discourse-cdn.com/v4/letter/e/71e660/32.png) [@elvisj007](https://discourse.nodered.org/u/elvisj007)\
**Post date:** [13 September 2022 08:20 UTC](https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643/3 "2022-09-13T08:20:04Z")

</div>

Yes. I am developing a lowcode edge application on node-red and it need to be containerized for cloud deployment.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 September 2022 09:03 UTC](https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643/4 "2022-09-13T09:03:00Z")

</div>

If you are creating a specific application you would probably be best to create your own custom docker image - see [node-red-docker/docker-custom at master · node-red/node-red-docker · GitHub](https://github.com/node-red/node-red-docker/tree/master/docker-custom) - then you have full control over the DockerFile and can build in your extra nodes and indeed the flow file if that is also going to be "static".

---

<div class="post-metadata">

**Author:** ![tve](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tve/32/59475_2.png) [@tve](https://discourse.nodered.org/u/tve)\
**Post date:** [13 September 2022 16:16 UTC](https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643/5 "2022-09-13T16:16:30Z")

</div>

I documented how to use docker with FlexDash, including how to install packages temporarily and more persistently: [Docker - FlexDash](https://flexdash.github.io/docs/quick-start/docker/) LMK if you have questions. (The docs are not specific to FlexDash.)

---

<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:** [12 November 2022 16:17 UTC](https://discourse.nodered.org/t/creating-nodes-in-node-red-containers/67643/6 "2022-11-12T16:17:18Z")

</div>

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