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
0 answers
couldn't run hadoop on docker swarm in vagrant
I have 4 vagrant machines running and source code for vagrant environment is here.
I'm successfully able to create a swarm cluster.
[vagrant@master ~]$ docker service ls
ID NAME MODE …

user51
- 8,843
- 21
- 79
- 158
0
votes
2 answers
Determine why docker image fails to run in swarm mode but works via compose with the same yml file
I have the following docker-compose.yml:
version: '3.7'
services:
gateway:
image: rmilejcz/kalos-gateway:latest
deploy:
replicas: 1
ports:
- '443:443'
networks:
- rpcnet
rpc:
image:…

Robbie Milejczak
- 5,664
- 3
- 32
- 65
0
votes
1 answer
Container on worker node is not accessible using Swarm Mode
I have a Swarm cluster with a Manager and a Worker node.
All the containers running on the manager are accessible through Traefik and working fine.
I just deployed a new Worker node and joined my swarm on the node.
Now I start scaling some services…

Walucas
- 2,549
- 1
- 21
- 44
0
votes
1 answer
Nodes status still DOWN after servers restart
I have a swarm cluster containing 4 nodes : 1 Manager + 3 Workers
When restarting one worker'server, its status becomes "DOWN" when running :
docker node ls
Also already deployed services shutdown in this node (containers exited), and cannot…

firasKoubaa
- 6,439
- 25
- 79
- 148
0
votes
1 answer
Legacy Windows application in VC++, Docker Image is built. Problem while deploying the application in Docker Swarm with Docker Service Create command
I am using Docker on Windows 10 version 1903.
I have a Legacy Windows application in VC++.
I have built Docker image of the application and pushed to dockerhub registry.
I have created Docker Swarm with 1 Manager and 2 worker nodes.
I am trying to…

InfoUser
- 61
- 6
0
votes
1 answer
Docker swarm worker node cannot serve the nginx service it is hosting
As a learning exercise, I'm trying to set up a docker swarm on two test AWS EC2 instances, but I'm running into a problem when I try to access the service from the IP address of the worker node.
On the master server, I ran docker swarm init. Then I…

markovchain
- 515
- 1
- 10
- 25
0
votes
1 answer
How to balance containers on newly added node with same elastic IP?
I need help in distributing already running containers on the newly added docker swarm worker node.
I am running docker swarm mode on docker version - 18.09.5. I am using AWS autoscaling for creating 3 masters and 4 workers. For high availability,…

Sandip Divekar
- 79
- 1
- 6
0
votes
1 answer
Force docker service to access another service that is hosted on same node
In docker swarm mode , i have
Worker Node 1 which has Service1 and Service2 running
Worker Node 2 which has Service1 and Service2 running
Service 1 on Worker Node 1 needs to invoke API on service 2
When Service1 invokes the api, everytime its…

mskm
- 37
- 9
0
votes
1 answer
Handling node joining docker swarm
I was just thinking a way to ease the node-join functionality in docker swarm (maybe same can be applied to K8 and other)
Just need your input on this, this will help to remove the dependency of copying the long token with IP and ease the…

stackjohnny
- 645
- 3
- 7
- 22
0
votes
0 answers
Connection refused for application hosted over docker swarm
I have a docker swarm running on 2 nodes created via Oracle VirtualBox installed on CentOS 7. I am able to deploy a stack running 6 containers equally distributed over the two machines.
However, I am unable to connect to the deployed application…

Harman
- 751
- 1
- 9
- 31
0
votes
0 answers
Why I don't see Swam Mode in Docker Cloud UI?
This is how Docker Cloud UI looks to me:
Why there's no Swarm Mode toggle? What am I missing?

Viktor Ershov
- 321
- 2
- 10
0
votes
1 answer
Docker swarm - flow of request in case of many managers
As we know in docker swarm we can have more than one manger. Let's suppose that we have 2 nodes and 2 managers (so each node is both manager and worker).
Now, let client (using CLI tool) execute following two seperated scenarios:
1. docker create…

Developer
- 23
- 3
0
votes
1 answer
docker-compose deployment ensure container is installed on specific server
I have the following in my compose file:
postgres:
deploy:
mode: global
placement:
constraints:
- node.labels.server == data
And my node has the following when I inspect it:
"Spec": {
"Labels": {
…
user156888
0
votes
1 answer
Node unable to join Docker Swarm cluster as a worker node
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
OS/Arch: …

CK5
- 1,055
- 3
- 16
- 29
0
votes
2 answers
Docker swarm - DNS service discovery, looking to internals
First of all:
I have some poor experience with docker swarm (I mean I touch in production env). I read a lot of about it, and I know concepts like veth, overlay, labels-pinning, vtep, bridge and so on. I know also that docker swarm use some…

Ansible fancy
- 25
- 1
- 8