# Updating the Node.js via Docker

**URL:** https://www.wago.community/t/updating-the-node-js-via-docker/277
**Category:** Node-RED
**Created:** [October 5, 2022, 2:04pm UTC](https://www.wago.community/t/updating-the-node-js-via-docker/277 "2022-10-05T14:04:17Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![quenorha](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/quenorha/32/429_2.png) [@quenorha](https://www.wago.community/u/quenorha)
#### Post date: [October 7, 2022, 7:00am UTC](https://www.wago.community/t/updating-the-node-js-via-docker/277/4 "2022-10-07T07:00:48Z")

</div>

You are using the “rpi-v8” tag. This will point to a specific version of the image which seems to be deprecated.  
[https://github.com/node-red/node-red-docker/issues/130](https://github.com/node-red/node-red-docker/issues/130)

You should you the normal image tag (or maybe the minimal version).  
Take a look to the documentation in Docker hub, or see if latest tag have a arm v7 version in the tag tab. Now a lot of images will auto-detect the architecture used. It will use the arm32v7 image automatically.  
More information here :  
[https://hub.docker.com/r/nodered/node-red/](https://hub.docker.com/r/nodered/node-red/)  
[https://nodered.org/docs/getting-started/docker](https://nodered.org/docs/getting-started/docker) (See “Image variations” chapter)  
Don’t forget to remove your old image and container otherwise you will soon reach out the internal flash limits !

Here is what I’ve used : `docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered --security-opt=seccomp=unconfined nodered/node-red`

(I wasn’t familiar with the seccomp issue in 3.0 version : [Docker container exits immediately - #6 by RBSI](https://www.wago.community/t/docker-container-exits-immediately/163/6))

Consider using `--log-opt max-size=10m --log-opt max-file=5` when calling the container to avoid a failure cause by too much log [https://www.wago.community/t/node-red-stops-responding-on-cc100-after-10-12-hours/190](https://www.wago.community/t/node-red-stops-responding-on-cc100-after-10-12-hours/190)

---

_[View the full topic](https://www.wago.community/t/updating-the-node-js-via-docker/277)._
