How do you do databases with Docker? Or for that matter, how do you do anything that stores persistent data in Docker? Sure you can attach a volume container to your application container, but that doesn’t scale and it makes your container dependent on your host, which is not ideal if you have a multi-server Docker cluster.