# Docker Node-Red in Azure

**URL:** <https://discourse.nodered.org/t/docker-node-red-in-azure/13434>\
**Category:** Dashboard\
**Created:** [18 July 2019 09:41 UTC](https://discourse.nodered.org/t/docker-node-red-in-azure/13434 "2019-07-18T09:41:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jochen1980](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@Jochen1980](https://discourse.nodered.org/u/Jochen1980)\
**Post date:** [18 July 2019 09:41 UTC](https://discourse.nodered.org/t/docker-node-red-in-azure/13434/1 "2019-07-18T09:41:29Z")

</div>

Hi forum,  
I'm Jochen from Germany and I'm new to node-red and have 2 questions for anybody who could help:  
I installed the docker container of Node-Red to MS Azure. Works fine.

1. I want to use node-red-contrib-ui-led but it doesn't show up. Had the same problem on my local installation but after a restart of node-red it worked. Did the same to node-red on Azure but LED is not showing up on dashboard. Any suggestion?

2. Restart of docker-container results in a completely new Node-Red setup. Already installed packages like dashboard aren't present any more and have to be reinstalled. Even the flows are gone.  
How can I make this persistent so that a restart of the whole container will keep flows and installed packages?

thanks in advance,

Jochen

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [18 July 2019 09:46 UTC](https://discourse.nodered.org/t/docker-node-red-in-azure/13434/2 "2019-07-18T09:46:55Z")

</div>

Did you try the method in the docs?

[https://nodered.org/docs/getting-started/docker](https://nodered.org/docs/getting-started/docker)

---

<div class="post-metadata">

**Author:** ![Jochen1980](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@Jochen1980](https://discourse.nodered.org/u/Jochen1980)\
**Post date:** [18 July 2019 10:12 UTC](https://discourse.nodered.org/t/docker-node-red-in-azure/13434/3 "2019-07-18T10:12:13Z")

</div>

Hi,  
problem starts where keyword "docker" is not accepted in console. any npm ... works as described in the doc but for example "docker stop mynodered" can't be executed: command not found

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [18 July 2019 10:20 UTC](https://discourse.nodered.org/t/docker-node-red-in-azure/13434/4 "2019-07-18T10:20:30Z")

</div>

So how did you install Node-RED / where did you get your docker image from?

---

<div class="post-metadata">

**Author:** ![Jochen1980](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@Jochen1980](https://discourse.nodered.org/u/Jochen1980)\
**Post date:** [8 August 2019 05:33 UTC](https://discourse.nodered.org/t/docker-node-red-in-azure/13434/5 "2019-08-08T05:33:35Z")

</div>

Hi,  
sorry for my late answer.  
to create the Azure docker container for node red I used the container from [https://hub.docker.com/r/nodered/node-red-docker/](https://hub.docker.com/r/nodered/node-red-docker/)  
Image: nodered/node-red-docker  
If I start the console in Azure via "Connect" I can select where to start: /bin/bash or /bin/sh or custom  
In any case command "docker" is not accepted/not found

---

<div class="post-metadata">

**Author:** ![Jochen1980](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@Jochen1980](https://discourse.nodered.org/u/Jochen1980)\
**Post date:** [9 August 2019 10:36 UTC](https://discourse.nodered.org/t/docker-node-red-in-azure/13434/6 "2019-08-09T10:36:01Z")

</div>

Fixed my problem by setting up a vm in Azure as described in your tutorial.  
Thanks for your help!
