Containerized databases
This recipe discusses best practices regarding the use of containerized databases.
Getting ready
We will require the following:
- Oracle Linux
- Podman
How to do it…
Containers make databases a much easier pill to swallow for your everyday application deployments. There’s not a lot to discuss in this recipe, but there are a few best practices with containerized databases that will definitely be useful to know about.
Do one thing and one thing only
Just as a core principle of containers is to do one thing and one thing only, the same principle applies to containerized databases. What do I mean by that? Well, for starters, you might be inclined to launch a containerized database and subsequently create multiple schemas within that database and/or multiple databases within that single container. Let’s say you have several applications that require a MySQL database, then it probably seems like a good idea to have...