Understand the removal of the VOLUME [/data] instruction
mainStarting from Node-RED version 1.2.0, the VOLUME [/data] instruction has been removed from the Dockerfile.
Previous Behavior (v1.1.3 and earlier):
If you did not explicitly specify a volume for /data, Docker would automatically create an anonymous volume and copy the contents of the /data folder from the base image into it. These anonymous volumes had long, random names and required manual cleanup to avoid cluttering the host system.
New Behavior (v1.2.0 and later):
Docker no longer automatically creates an anonymous volume for /data. This change prevents unexpected volume creation and simplifies management, as users are encouraged to explicitly manage persistence.