Hi!
So I’ve been experimenting with Docker Swarm Mode (1.12rc2 and rc3). Awesome stuff - and incredibly easy to setup… however - I’ve noticed some weird behaviour…
So - I was running a Jenkins instance on one of instances. Everything was working fine - and I was going to backup the Jenkins folder somewhere (it was being exposed as a volume). I close down a stack (using “docker stack rm <>”) for another application, and for some reason, swarm decides to re-balance the jenkins container onto another node…
No biggy - but of course, all of my data and settings are now gone.
So - two questions
- Why was this container rebalanced? This would cause a lot of problems with db’s and other stuff
- How can I persist data between containers and nodes?
Thanks
Jon