# Latest container and /data bind incompatible

**URL:** <https://discourse.nodered.org/t/latest-container-and-data-bind-incompatible/84687>\
**Category:** General\
**Tags:** docker\
**Created:** [18 January 2024 11:10 UTC](https://discourse.nodered.org/t/latest-container-and-data-bind-incompatible/84687 "2024-01-18T11:10:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elegant\_dijkstra](https://avatars.discourse-cdn.com/v4/letter/e/b3f665/32.png) [@elegant\_dijkstra](https://discourse.nodered.org/u/elegant_dijkstra)\
**Post date:** [18 January 2024 11:10 UTC](https://discourse.nodered.org/t/latest-container-and-data-bind-incompatible/84687/1 "2024-01-18T11:10:05Z")

</div>

Hello to everyone developing, maintaining or using this fantastic bit of Software.

I am running the latest container with a bind mount for /data, as is the usual an recommended configuration. I noticed the /data directory contains not only settings and flows, but also npm modules.  
This is fine for my purpose, but I wonder what happens if I upgrade the container to a new version, and there happens to be a breaking incompatibility? For instance if a newer version of the container has some dependency on a module that cannot be satisfied by the mounted /data?

I am not familiar enough with the Node.JS/npm ecosystem as a whole, maybe this is a non-issue or my understanding of the dependencies is wrong?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 January 2024 12:26 UTC](https://discourse.nodered.org/t/latest-container-and-data-bind-incompatible/84687/2 "2024-01-18T12:26:50Z")

</div>

The modules that get installed under `/data` are purely those used by your flows - none of the core modules get installed there. So there should not be any issue around upgrading.

---

<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:** [1 February 2024 12:27 UTC](https://discourse.nodered.org/t/latest-container-and-data-bind-incompatible/84687/3 "2024-02-01T12:27:33Z")

</div>

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