I’m really excited by docker swarm 1.12, and have all the hello world samples running great. What I’d like to do is now add a stateful container into the mix, but I can’t figure out how to create a shared volume all the containers can see.
Is there any documentation anywhere about this, or perhaps a sample somewhere? Or can someone even just tell me what parameter I should be looking out for (I’m guessing it’s probably docker service create --mount … but I’m a bit lost past that!)
Hi ! I have the same problem, I want to use a service with a volume based on each node (replicated with GlusterFS) but ‘service create’ don’t allow to add ‘-v’. How to do this ?
I tried that with redis, but it’s not working in my swarm. What I was thinking is it possible to run glusterfs in a swarm, since swarm have an overlay network and it would be great to share replicated volumes between swarm clusters. Anyone have an idea to fix this?