Docker Community Forums

Share and learn in the Docker community.

Does docker swarm cluster has failover option?


(Rafiqul) #1

I was wondering if docker swarm cluster offers failover feature like kubernetes. I mean if a docker node in a swarm cluster dies then what happens to its containers?

Thanks


(Sean Boran) #2

My understanding is that the swarm controller has HA, but not nodes, so in your example there is no automatic fail-over/recovery.
Kubernetes or Mesos/marathon ca provide this, but a tricky part maintaining volume persistence (flocker, glusterfs…)


(Rafiqul) #3

I agree with you as I have seen docker docs.