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
1
vote
2 answers
Docker swarm mode, portainer, traefik
i'm trying to setup a webserver into Docker Swarm mode. Any help is appreciated.
My idea is to have a single machine configured, to run standalone for now, but ready to scale for load-balance and fault-tollerance purposes.
I expect that traefik run…

Sgobbit
- 11
- 2
1
vote
0 answers
Traefik Let's Encrypt ACME Route53 for multiple domains
I have Traefik configured to issue Let's Encrypt wildcard certificates with DNS-01 challenge.
I have the variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, AWS_HOSTED_ZONE_ID in the env file, for *.domain1.com (domain1.com). This…

Carlos Almeida
- 11
- 4
1
vote
0 answers
How to Configure Flocker on centos 7.2?
I used https://media-glass.es/flocker-on-centos-7-17a8bfaa6509 as reference for installing ,But the yum repo is not available now. And if you have any alternatives for flocker please share. I am looking for an open-source container data volume…

Sarath Kumar
- 145
- 8
1
vote
1 answer
Traefik HA in Docker Swarm Mode
How does Traefik work in Docker Swarm Mode? From what I'm reading here and here, Traefik will be installed as part of the managers.
If there's 3 managers and each Docker Swarm manager is setup on a different host with different IP, what is the IP…

j7an
- 104
- 2
- 11
1
vote
3 answers
can i assign cores to docker swarm containers?
I'm deploying a stack file with couple services (each service has only 1 replica) and I need to limit each container to use a different subset of CPU cores. I found online here that cpuset is not supported with swarm's stack file (compose v3). I…

tkyass
- 2,968
- 8
- 38
- 57
1
vote
0 answers
How to run eventstore behind a proxy with docker-flow?
I am trying to expose eventstore docker container, to the internet, using reverse proxy. I'm docker-flow proxy and DFPLE for https for letsencrypt. All of this runs in docker swarm mode (new swarm).
I would like to have eventstore to be accessible…

Andriy Drozdyuk
- 58,435
- 50
- 171
- 272
1
vote
0 answers
Manager node stuck in preparing state for service
I have a swarm of 3 managers, 3 workers as below:
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
ocnuul8dcbrf4gjtdzv06t0yf * manager1 Ready …

varkashy
- 374
- 4
- 18
1
vote
1 answer
Multiple label placement constraints in docker swarm
When I give multiple label placement constraints and deploy the stack, the services are not running in either of the mentioned constraints.
Ex:
deploy:
mode: global
placement:
constraints:
- node.labels.type == test
…

Ram Idavalapati
- 666
- 1
- 10
- 22
1
vote
0 answers
Docker Swarm service entry will not be removed even if service creation failed?
I want to confirm one thing about docker swarm service.
If the service is not created successfully, for example, the container of that service is failed to be started due to some reasons, the REPLICAS will always be 0/1? And this service entry will…

Xianyi Ye
- 961
- 3
- 11
- 26
1
vote
1 answer
What will be the effect if I scale a service beyond the docker node size?
I have 3 node in docker swarm mode where.
1 Manager and 2 Worker nodes
I got a 2 doubts here ?
What will be the effect if I scale the service to number greater than nodes we have. (Suppose scaling one service to 5 or 6)
What will happen to the…

Tara Prasad Gurung
- 3,422
- 6
- 38
- 76
1
vote
0 answers
Custom orchestration strategy for Docker Swarm
I was looking to use Docker's swarm mode as a distributed container orchestration solution but using custom orchestration strategies/algorithms. Using the official nomenclature, what I want to modify is the scheduler. Is this possible? Does Docker…

Adirio
- 5,040
- 1
- 14
- 26
1
vote
1 answer
Running graylog cluster in docker swarm mode
I have graylog server running as a docker container on my host. Now I want to run a graylog cluster using docker swarm. Is it possible to do it. If possible should i go with an extra load balancer like nginx.

ravi chandra reddy
- 11
- 1
- 2
1
vote
1 answer
Docker Swarm Mode - Show containers per node
I am using Docker version 17.12.1-ce.
I have set up a swarm with two nodes, and I have a stack running on the manager, while I am to instantiate new nodes on the worker (not within a service, but as stand-alone containers).
So far I have been…

Kurobara
- 161
- 2
- 12
1
vote
1 answer
Docker volumes vs nfs
I would like to know if it is logical to use a redundant NFS/GFS share for webcontent instead of using docker volumes?
I'm trying to build a HA docker environment with the least amount of additional tooling. I would like to stick to 3 servers, each…

Robbert
- 444
- 5
- 13
1
vote
2 answers
Not able to run service using docker stack in docker swarm
Here is the docker-compose file that I once used to successfully run docker container using docker-compose.
Now trying to deploy using the docker stack. My manager and workers node are ready.
docker-compose.yml
version: '3'
services:
…

Tara Prasad Gurung
- 3,422
- 6
- 38
- 76