TBH, you should use what works best for you! If you're fine with running a DB installed by ansible scripts on virtual machines, then do it. If you're facing problems that Docker can solve then go for it. But don't use something just because it's available ;)
If you'd like, feel free to share some more details on the setup and the problems you're facing :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.