Docker is especially suited to the deployment of microservices. The following links discuss two strategies with regard to the use of databases:
- Database per service
- Shared database
I personally favour the use of a single database per service and extend that to the deployment of separate instances of a database server. This ensures services are loosely coupled, should one service suffer a DB outage, it won’t impact another.