Swarm mode refers to cluster management and orchestration features embedded in Docker Engine. When you initialize a new swarm (cluster) or join nodes to a swarm, the Docker Engine runs in swarm mode.
Questions tagged [docker-swarm-mode]
285 questions
2
votes
1 answer
Difference between docker swarm node running as Leader and running as Manager
I wish to understand the difference between docker swarm node running as Leader and running as a Manager.
I also, understand that there can be several docker managers but can there be multiple docker swarm Leader nodes and the reasons for it.
Note:…

Alijma Hanfi
- 31
- 2
2
votes
2 answers
Isolate containers connected to traefik overlay network on swarm
I have multiple stacks running in docker swarm with traefik, where services in each stack are connected to an overlay network (traefik-net) so traefik can talk to them.
If I have a service in each stack that's called the same service name…

mxrlkn
- 83
- 7
2
votes
1 answer
Jenkins Docker Swarm Plugin within Swarm
I have a Jenkins stack running in my Docker Swarm. I want to use the Jenkins Docker Swarm plugin to allow me to use my swarm to spin up slaves, but I cannot figure out the API URI section.
It requires it in the format http://ip:2376 and I can see…

Luke
- 603
- 2
- 11
- 35
2
votes
1 answer
Session Persistence using Traefik on Docker Swarm Replicas
I trying to implement sticky session on dockers-swarm with traefik, but I could not achieve session persistence over two replicas on same machine.
In my docker-compose.yml, I have added labels for traefik and added the loadbalancer as well. Below is…

Swastik Roy
- 198
- 1
- 13
2
votes
3 answers
How Swarm mode image orchestration works?
I have setup a 3 node cluster (with no Internet access) with 1 manager and 2 worker-nodes using the standard swarm documentation.
How does the swarm manager in swarm mode know about the images present in worker nodes?
Lets say I have image A in…

syk_coder
- 31
- 2
- 9
2
votes
2 answers
Docker swarm tries to parse the value of ENV variable in my compose file (because it has a go template in it) and gives me an error
The error
I try to launch a logspout container and set the log format (an ENV variable) via a docker-compose file. Not too difficult, and if I launch it with docker-compose up, everything works fine. But when I try to launch it with docker swarm…

OLIVIER
- 858
- 9
- 18
2
votes
2 answers
Mount rexray/ceph volume in multiple containers on Docker swarm
What I have done
I have built a Docker Swarm cluster where I am running containers that have persistent data. To allow the container to move to another host in the event of failure I need resilient shared storage across the swarm. After looking into…

BenCaldwell
- 323
- 1
- 15
2
votes
1 answer
What is the difference between Clustering management and Orchestration in docker?
I am new to docker, I can not differentiate the two concepts between Clustering and Orchestration in docker swarm. Is there any can help me to make it clear? Thanks!

leo
- 1,045
- 3
- 15
- 27
2
votes
1 answer
Docker Swarm: deploy containers on Worker node
I am trying to deploy the application on multiple instances.
On master node, I used these bunch of commands:
docker swarm init
docker network create --attachable --driver overlay fabric
docker stack deploy --compose-file docker-compose-org2.yaml…

Akshay Sood
- 6,366
- 10
- 36
- 59
2
votes
2 answers
Docker Swarm: Calico node pod is unhealthy
Details:
OS: RHEL 7.4
uname -r: 3.10.0-693.el7.x86_64
Docker version
Client: Docker Enterprise Edition (EE) 2.0
Version: 17.06.2-ee-10
API version: 1.30
Go version: go1.8.7
Git commit: 66261a0
Built: Fri Apr 27 00:38:41 2018
…

CK5
- 1,055
- 3
- 16
- 29
2
votes
1 answer
How to use a private registry with docker swarm and traefik in docker
I am running a single node swarm, I am using traefik to manage all my external connections, and I want to run a registry such that I can connect to it at registry.myhost.com
Now all the examples I can see suggest creating a registry as a normal…

user2959736
- 41
- 1
- 6
2
votes
0 answers
Docker swarm service on different nodes can't communicate
I'm running docker in swarm mode where I have some services running on the same overlay network but different nodes.
I'm trying to get the nodes of these services to be able to talk to each other; which works fine until I try to talk cross…

Tom Hadlaw
- 123
- 6
2
votes
1 answer
I can't deploy a Docker Swarm service using ubuntu based image
I'm a newbie in Docker/Docker Swarm and I want to create a custom mosquitto service on Swarm. I created a custom mosquitto image
lcsf/mosquitto3 from ubuntu:latest, then I added some tools (ping, ipconfig). I can run a single container with docker…

Luiz Carlos
- 23
- 5
2
votes
2 answers
Docker swarm node unable to detect service from another host in swarm
My goal is to set up a docker swarm on a group of 3 linux (ubuntu) physical workstations and run a dask cluster on that.
$ docker --version
Docker version 17.06.0-ce, build 02c1d87
I am able to init the docker swarm and add all of the machines to…

Rich
- 905
- 1
- 6
- 10
2
votes
0 answers
Correct services hostname configuration in swarm
I'm having some trouble deploying a stack to a local 3-clusters swarm (for now) created with docker-machine.
All services are in the same network and when working locally running docker-compose run.. I have no problem in connecting services using…

Saul Martínez
- 920
- 13
- 28