# Problem with nodered container

**URL:** <https://community.gladysassistant.com/t/probleme-container-nodered/7430>\
**Category:** Configuration\
**Created:** [July 15, 2022, 10:29am UTC](https://community.gladysassistant.com/t/probleme-container-nodered/7430 "2022-07-15T10:29:21Z")\
**Posts on this page:** 5\
**Page:** 4

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [July 25, 2022, 12:00pm UTC](https://community.gladysassistant.com/t/probleme-container-nodered/7430/61 "2022-07-25T12:00:44Z")

</div>

\nHello @tiboys \nI’m planning, for next time, to block Node-RED updates by Watchtower, as recommended by @spenceur

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [July 25, 2022, 12:52pm UTC](https://community.gladysassistant.com/t/probleme-container-nodered/7430/62 "2022-07-25T12:52:51Z")

</div>

> [@spenceur](#):
>
> Otherwise, @VonOx, @pierre-gilles, I wonder if you shouldn’t configure watchtower in the images so that it only checks Gladys and not the other containers.

Mmm we’ll see because it’s not only the Gladys container to monitor but also Zigbee2mqtt and mosquitto, containers that aren’t installed by default. We want updates for these last two as well, because new devices are very regularly added to Z2M. In a few months I hope we’ll release the ZwaveJS2Mqtt integration; there will also be a container to update. You have to think long term, because these images can easily be used for 4-5 years 🙂

Also, generally speaking, it’s good practice to keep these pieces of software up to date; you just have to respect SemVer ([SemVer — Wiktionnaire, le dictionnaire libre](https://fr.wiktionary.org/wiki/SemVer)) to only follow the minor versions of a fixed major version.

I rather think we should maybe take the problem the other way around — the only «&nbsp;issue&nbsp;» here is that the command I highlighted to launch Node-RED was «&nbsp;latest&nbsp;», whereas I could have highlighted the tagged major version, which would have avoided any problem here.

In the same way that the command to launch Gladys that I provide on the site is locked to the major version «&nbsp;v4&nbsp;», the day we move to v5 with breaking changes, users on v4 will not be impacted:

 ![Screenshot 2022-07-25 at 14.51.04](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/7/74af4df07ab4c3f1e70a593d8e6adc14ec64da4b.jpeg)

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [July 28, 2022, 8:52am UTC](https://community.gladysassistant.com/t/probleme-container-nodered/7430/63 "2022-07-28T08:52:13Z")

</div>

> [@spenceur](#):
>
> That gives something like:
> 
> ```auto
> docker run -d \
> --log-opt max-size=10m \
> --restart=always \
> --privileged \
> -u root \
> --network=host \
> --name node_red \
> -u node-red:dialout \
> -v /var/lib/node-red:/data \
> --label com.centurylinklabs.watchtower.enable=false
> nodered/node-red
> 
> ```

hello @spenceur  
the command you gave me doesn’t work as-is, I get this output:

```auto

"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container
-bash: -v: command not found

```

Whereas when I remove your line, no errors are generated. I did try moving it, but I still get this error.  
do I need to modify another line?  
thanks 🙂

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [July 28, 2022, 9:12am UTC](https://community.gladysassistant.com/t/probleme-container-nodered/7430/64 "2022-07-28T09:12:14Z")

</div>

A backslash is missing at the end of the penultimate line.

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [July 28, 2022, 9:37am UTC](https://community.gladysassistant.com/t/probleme-container-nodered/7430/65 "2022-07-28T09:37:45Z")

</div>

Hello @VonOx  
Ah yes, I could have seen it 😬  
Thanks once again  
Have a good day

[Previous page](https://community.gladysassistant.com/t/probleme-container-nodered/7430.md?page=3)
