Docker swarm NFS volumes,
<p>I am playing with docker's 1.12 swarm with Orchestration! But there is one issue I am not able to find an answer to:  </p>

<ol>
<li><p>In this case if you're running a service like nginx or redis you don't worry about the data persistence, </p></li>
<li><p>But if you're running a service like a database we need data persistance so if something happens to your docker instance the master will shuttle the docker instance to one of the available nodes, by default docker doesn't move data volumes to other nodes to address this problem. We can use third party plugins like Flocker (<a href="https://github.com/ClusterHQ/flocker" rel="nofollow noreferrer">https://github.com/ClusterHQ/flocker</a>), Rexray ("<a href="https://github.com/emccode/rexray" rel="nofollow noreferrer">https://github.com/emccode/rexray</a>") to solve the issue.</p></li>
<li><p>But the problem with this is: when one node fails you lose the data. Flocker or Rexray does not deal with this. </p></li>
<li><p>We can solve this if we use something like NFS. I mount the same volume to across my nodes in this case we don't have to move the data between two nodes. If one of the nodes fail its need to remember the docker mount location, can we do this? If so can we achieve this with docker Swarm Built-In Orchestration!</p></li>
</ol>