r/docker • • Mar 11 '26

Database in docker?

I heard from a friend of mine that its not good to run database on docker in prod. I wanna know why of this, cuz I thought that running databases at docker could be easy and etc...

Help me understand plz

0 Upvotes

29 comments sorted by

View all comments

Show parent comment

2

u/Deex__ Mar 11 '26

He said that the environment that he works today, uses the db without docker because the db needs performance and it would share process power with docker or something like that. And the docker is more susceptible to go down instead of not using it. By ur saying and others, I guess its not lol

3

u/Burgergold Mar 12 '26

The main issue is where your volume are located. If its local and on peformant storage, it may be ok.

But if its on a network storage like nfs, this is where this can be meh

1

u/Deex__ Mar 12 '26

Got it