DevOps Quiz
Is it possible to run a database in a container?
Question
Is it possible to run a database in a container?
- Yes. You can run anything in a container.
- No. Containers have to be stateless.
Answer
Yes. You can run anything in a container. It’s common to run a database in a container for development/testing.
With regards to production, it is not recommended.
But Why?! 🤔
That’s a discussion which demands a separate post 😀
Reference — Julia Evans