# Node red via portainer.io

**URL:** <https://discourse.nodered.org/t/node-red-via-portainer-io/82228>\
**Category:** General\
**Created:** [20 October 2023 17:56 UTC](https://discourse.nodered.org/t/node-red-via-portainer-io/82228 "2023-10-20T17:56:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sn19](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sn19](https://discourse.nodered.org/u/sn19)\
**Post date:** [20 October 2023 17:56 UTC](https://discourse.nodered.org/t/node-red-via-portainer-io/82228/1 "2023-10-20T17:56:12Z")

</div>

Hello. I am trying install and run NODE RED via [portainer.io](http://portainer.io). I have a PLC and the web interface for this PLC has [portainer.io](http://portainer.io) pre-installed in it. I would like to request for some help on how I can install NODE-RED via [portainer.io](http://portainer.io)

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rei_vilo/32/162_2.png) [@rei\_vilo](https://discourse.nodered.org/u/rei_vilo)\
**Post date:** [20 October 2023 19:25 UTC](https://discourse.nodered.org/t/node-red-via-portainer-io/82228/2 "2023-10-20T19:25:40Z")

</div>

This is the procedure I've followed.

- Create a dedicated folder for persistent data.

```auto
$
mkdir -p /home/<USER>/Docker/Node-RED

```

- Install Node-RED

```auto
$
docker run -it -p 1880:1880 -v /home/<USER>/Docker/Node-RED:/data --network iot --name Node-RED nodered/node-red

```

- Create the internal network.

```auto
$
docker network create iot

```

- Install Mosquitto

```auto
$
docker run -itd --network iot --name MQTT eclipse-mosquitto mosquitto -c /mosquitto-no-auth.conf

```

---

<div class="post-metadata">

**Author:** ![orrinen](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/orrinen/32/81311_2.png) [@orrinen](https://discourse.nodered.org/u/orrinen)\
**Post date:** [20 October 2023 23:57 UTC](https://discourse.nodered.org/t/node-red-via-portainer-io/82228/3 "2023-10-20T23:57:22Z")

</div>

What plc is it?

---

<div class="post-metadata">

**Author:** ![deputynl](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@deputynl](https://discourse.nodered.org/u/deputynl)\
**Post date:** [23 October 2023 13:00 UTC](https://discourse.nodered.org/t/node-red-via-portainer-io/82228/4 "2023-10-23T13:00:27Z")

</div>

Use the add container functionality in Portainer. Use nodered/node-red as the image and use the 'map additional volume' options on the volume tab while doing so. You will want to have '/data' mapped to a volume so your data is persisted.

---

<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:** [22 December 2023 13:00 UTC](https://discourse.nodered.org/t/node-red-via-portainer-io/82228/5 "2023-12-22T13:00:32Z")

</div>

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