How to store files, to be visible over different applications

I am trying to save some files that are for init reasons. I don’t know were to store them so they are always available even if I update the release version. I have stored in the work directory that is usr/src/app, but once I update to a newer release, it is deleted. Also there is no /data directory that I can store in there. Any advice would be appreciated.

If you are using a docker-compose.yml file, you can achieve persistance using Named Volumes. Docs
If you are not using a docker-compose.yml file, you are running a single container application, the /data mount is made available automatically Docs


Thank you @edorgeville … that did the trick :slight_smile:

1 Like

Thanks for the assist here @edorgeville ! :slight_smile:

1 Like