Thanks Nexus for this information, I think I found what I've been looking for. Please correct me, if I'm wrong:
- There is user data stored inside the container, even if I'm not able to see it in terminal (at the host).
- This data can be accessed via "docker cp" command, ran at the host's terminal, to copy out some of the data that is stored in the container's directories.
- node-red (the user, that Node-RED is running under) data is found in the directory /usr/src/node-red/ inside the container, so to copy out data that is stored inside a container, I can use
docker cp Containername:/usr/src/node-red/some-data-file.txt /path-of-the-host-where-i-want-the-file-to-store
[Edit]
And - of course - I could use the Volume mapping you described above, to also have direct access to the information that I want to store.