# Node-RED in docker container on SONOFF iHost

**URL:** <https://discourse.nodered.org/t/node-red-in-docker-container-on-sonoff-ihost/77934>\
**Category:** General\
**Tags:** docker\
**Created:** [25 April 2023 22:31 UTC](https://discourse.nodered.org/t/node-red-in-docker-container-on-sonoff-ihost/77934 "2023-04-25T22:31:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [25 April 2023 22:31 UTC](https://discourse.nodered.org/t/node-red-in-docker-container-on-sonoff-ihost/77934/1 "2023-04-25T22:31:33Z")

</div>

I have been trying to find out whether the SONOFF iHost device will do anything useful for me. It runs NR inside a docker container, and this is my first experience with containers. The iHost firmware gives no real access to the container, so all I have been able to do is peek inside from NR, using `exec` and `file` nodes. The `mqtt` nodes appear to see the broker, which runs on a local RPi and works for other hosts on my LAN, but they do not connect. Advice on how to set up a terminal, fix the mqtt issue, and do anything else interesting would be welcome.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [26 April 2023 05:38 UTC](https://discourse.nodered.org/t/node-red-in-docker-container-on-sonoff-ihost/77934/2 "2023-04-26T05:38:51Z")

</div>

I wonder if you can install "portainer" and run/arrange everything from there, it would act like a jailbreak. If you cannot really see much from iHost in terms of what environment variables have been set etc.

---

<div class="post-metadata">

**Author:** ![Y2K](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/y2k/32/91026_2.png) [@Y2K](https://discourse.nodered.org/u/Y2K)\
**Post date:** [16 May 2024 22:41 UTC](https://discourse.nodered.org/t/node-red-in-docker-container-on-sonoff-ihost/77934/3 "2024-05-16T22:41:10Z")

</div>

... beyond my understanding, moving on to next ihost item.

---

<div class="post-metadata">

**Author:** ![Johnnybegoode](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/johnnybegoode/32/88032_2.png) [@Johnnybegoode](https://discourse.nodered.org/u/Johnnybegoode)\
**Post date:** [17 May 2024 06:21 UTC](https://discourse.nodered.org/t/node-red-in-docker-container-on-sonoff-ihost/77934/4 "2024-05-17T06:21:30Z")

</div>

Hi  
Use this guide to install Mosquitto MQTT.

> **[【Add-on Guide】MQTT2CUBE-Tasmota: sync your Tasmota devices to CUBE](https://forum.ewelink.cc/t/add-on-guide-mqtt2cube-tasmota-sync-your-tasmota-devices-to-cube/19413)**
>
> MQTT2CUBE-Tasmota add-on allows you to sync your Tasmota devices to iHost (CUBE) for control. Make sure you’ve updated your iHost (CUBE) to V1.8 If you have a working MQTT broker and you want to keep using it, skip to step 6 If you want to...

Only setback is cannot use port 1883, but thats not given me any problems apart from a third party driver on Smartthings.

Use this guide (also a video by @nygma2004 ) to use a file browser to give access to the settings file.

> **[【Add-on Guide】Volume management & Filebrowser add-on](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254)**
>
> In this post, I’ll show you how to manage the files of an add-on via the filebrowser/filebrowser add-on Take Node-RED as an example. Step 1 Install the filebrowser/filebrowser add-on Do not run it for now. Step 2 Create some volumes for...
