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
0
votes
1 answer
Docker Swarm - Manager unreachable but status still ready
I have the following scenario:
3 Nodes (2 Manager & 1 Worker)
Everything works great and I got them visualized. If I kill the worker the status will say down after a few seconds which is correct. If I one of the managers the manager status says…

Matteo
- 232
- 3
- 17
0
votes
2 answers
deploying spark cluster through docker-compose in dock swarm mode
I'm trying to deploy my apache spark cluster using the docker-compose file as defined here across machines working in docker swarm mode.
I'm invoking docker stack deploy -c compose-file.yml spark_cluster at my docker swarm manager machine to deploy…

Saulo Ricci
- 776
- 1
- 8
- 27
0
votes
1 answer
Get docker swarm manager node from jenkins job
I would like to get the swarm manager node name or ip address from an host that is not part of the swarm.
The host is Jenkins and I have SSH keys configured to get access to every machine in the swarm, but to create a service I need to run the…

Elia Oggian
- 1
- 1
0
votes
1 answer
Docker swarm mode load balancing
I've set up a docker swarm mode cluster, with two managers and one worker. This is on Centos 7. They're on machines dkr1, dkr2, dkr3. dkr3 is the worker.
I was upgrading to v1.13 the other day, and wanted zero downtime. But it didn't work exactly…

djb
- 1,635
- 3
- 26
- 49
0
votes
0 answers
docker-compose v3 services on several networks
I use docker-compose v3 file to deploy services on docker swarm mode cluster.
My services are elasticsearch and kibana. I want that kibana was accessible from outside, and that elasticsearch could be accessed by kibana and was not visible and…

Shuffer
- 1
- 1
0
votes
1 answer
how do you securely push an image to a docker 1.13 registry:2 service from outside the swarm?
I am running a docker registry service in a locally-hosted docker-machine VM in a docker 1.13 swarm on OSX via:
docker service create --name registry --with-registry-auth --publish
5000:5000 registry:2
The service is running and I can push/pull…

James Fremen
- 2,170
- 2
- 20
- 29
0
votes
1 answer
Expose a range of ports in docker service
Is there any way to expose a range of ports in the creation of a swarm service ( for instance: -p 1024-2000:1024-2000)? I know that it's possible for a container, but is it also possible for a Swarm Service? If yes, I can't find how to do that in…

rsabir
- 738
- 1
- 7
- 17
0
votes
2 answers
How to scale application with multiple exposed ports and multiple volume mounted by using docker swarm?
I have one Java based application(Jboss version 6.1 Community) with heavy traffic on it. Now I want to migrate this application deployments using docker and docker-swarm for clustering.
Scenario
My application needs two ports exposed from docker…

chintan thakar
- 1,440
- 1
- 15
- 25
0
votes
1 answer
About docker swarm mode with filters, strategy, affinity, etc
I've started using docker swarm mode, and I couldn't find reliable information about a lot of things covered in traditional swarm. Does anyone know about the following things??
What kind of filters are available? Used to have constraint, health,…

Kenji Yonekawa
- 31
- 1
-1
votes
1 answer
Traefik Docker Swarm + SonarQube
please help!
I am trying to start a service SonarQube with proxy Traefik. But all time have error 404.
Please help me configure traefik to expose my services on swarm. We are going to deploy more than 10 servicies.
My swarm.yml:
version:…
-1
votes
1 answer
Endless loading when nginx in docker service (swarm mode)
I have simple example in local machine:
docker service create --name nginx --publish 8080:80 --replicas 2 nginx:stable-alpine
And if i do
curl http://localhost:8080
I get standart nginx page and it is ok
But when in chrome i type…

Billizzard
- 472
- 6
- 15
-1
votes
1 answer
Docker Swarm - Secrets problem when creating new container
i am running Production Docker Swarm Cluster with 3 manager nodes and many workers.
Every node (managers, worker) running same Docker and BTRFS Version:
Server Version: 17.12.1-ce
Storage Driver: btrfs
Build Version: Btrfs v4.9.1
Library Version:…

xHybridC
- 1
-1
votes
1 answer
Backup Docker Swarm - How many Manager Nodes Required
From the official docker doc, there is a statement (as below) looks confusing to me. From my understanding, don't we only need to pick anyone of healthy manager nodes to backup for future restoration purpose?
"You must perform a manual backup on…

KC OOI
- 3
- 2
-1
votes
1 answer
How to update database without taking down your serivce?
I'm using ansible to set up my docker-swarm.
In my docker swarm I run: Web server, database, and a cache.
My question is: how can I update my database (e.g docker image, etc.) without making the service unavailable?
Should I mirror the existing…

Heihade1
- 79
- 3
- 8
-1
votes
1 answer
Multi host Kafka-zookeeper Hyper-ledger fabric network
I am trying to setup a Multi Org Multi Host network based on Hyperledger fabric block chain. I developed a network structure and trying to run docker containers in swarm mode. I have three aws instance Ubuntu on aws.
Here is link of my public…

Yogesh Jangir
- 37
- 9