DEV Community

Discussion on: Docker Persistence feat. MS SQL Server, PostgreSQL, MariaDB, MySQL, MongoDB

Collapse
amelspahic profile image
Amel Spahić Author

It really depends on what is your use case. For small projects, single machine deployment, it should not be a problem at all, but still take precautions regarding the persistence part.

Collapse
zyabxwcd profile image
Akash

One question though, even if we consider using the preferred Volumes approach, why would we need to have precautions and what precautions do we need to have? Can you give some idea around it? Are we questioning the implementation of volumes in docker or some other external variables like if the host machine's storage ran out or situations like if someone or some thing deleted our volumes from outside our container?