So I am quite new to docker, and in particular docker swarm. I've just installed jenkins and I want it to work on all nodes regardless of it running with only one instance on one machine or 10 instances on 5 machines.
The problem with this is of course "how does jenkins know what build definitions I've got". There is probably a specific way of solving this for jenkins, but I see myself having similar issues in the future. So it got me thinking, is there any easy way to setup replication on the filesystem/volume? preferably in a master/slave configuration that would work in a docker swarm environment?