Should You Run Databases in Containers?
If You're Working on a Small Project, and Are Deploying to a Single Machine, It's Completely Okay to Run Your Database in a Docker Container. Be Sure to Mount...
If you're working on a small project, and are deploying to a single machine, it's completely okay to run your database in a Docker container. Be sure to mount a volume to make the data persistent, and have backup processes in place. ... It's convenient, and perfectly fine for small projects handling non-crucial data.
Should I run my database on Kubernetes?
Running a database on Kubernetes is closer to the full-ops option, but you do get some benefits in terms of the automation Kubernetes provides to keep the database application running. ... Also, some of the more database-specific administrative tasks—backups, scaling, tuning, etc.
Can databases be containerized?
A containerized database is an encapsulation of its DBMS server software, with access to a physical database file residing somewhere within the network. Each DBMS is encased in its own container image. Containerizing a database, however, is not quite as straightforward as containerizing an application.