|
|
|
|
|
by cpuguy83
2730 days ago
|
|
I would not run a database on swarm. It simply does not have the right api's at the cluster level to properly express state requirements. 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! |
|