Does anyone know of a docker alternative like this? So something like KubeDB that lets me deploy a production-ready postgres db on docker swarm for example?
The original swarm design had some of this but it was pulled just before release for more design work... which was never completed.
I wrote the only storage support currently in swarm, which is the "mounts" api in your service spec...
So, technically you could use swarm to do it, but it will be painful and I don't think any amount of tooling will help until docker includes some support for cluster-aware storage.
I would be happy to hear if people have successfully done this, though!
The thing to remember is mounts are implemented only at the node level, so there is no cluster-aware storage controller.