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
2 answers
Is Swarm Mode going to be supported on Azure Container Service?
After creating a Container Service with Swarm orchestration, setting up an SSH tunnel to the manager, and setting the DOCKER_HOST environment variable, I was able to issue commands to the Swarm manager on Azure.
Then I tried to deploy a Docker stack…

Attila
- 1,445
- 1
- 11
- 21
2
votes
0 answers
Docker service exposed port connection times out
I have an image that exposes a django app on port 8000
In case A , i create a one node swarm, then deploy a service to the swarm using
docker service create --name django -p 8000:8000 --hostname django myrepo/myimage:mytag
Then i try to use
curl…

omu_negru
- 4,642
- 4
- 27
- 38
2
votes
1 answer
Is the docker swarm join token private?
Is there a risk in publicly (git / blogs) exposing your swarm token; even if your host machines are not publicly accessible via port :2377?
Example: terraform git repo to provision future worker nodes with the worker token contained in the repo.

Jim Angel
- 73
- 1
- 6
2
votes
1 answer
Does docker swarm mode (docker 1.13 & compose v3) really provides zero downtime rolling updates or deployments?
I have a stack with 10 application containers with frontend nginx . While deploying new application container images in the stack i see ~1-2% failed requests if i run a apachebenchmark or gatling test against it . Around 2 requests fails if i send…

vivekyad4v
- 13,321
- 4
- 55
- 63
2
votes
1 answer
Is there a way to rename network interfaces in Docker swarm?
When using Docker swarm mode and exposing ports outside, you have at least three networks, the ingress network, the bridge network and the overlay network (used for internal cluster communications). The container joins these networks using one of…

Alessandro Dionisi
- 2,494
- 4
- 33
- 37
2
votes
1 answer
Passing arguments to docker compose file when using it for swarm
I have a docker swarm and I deploy my service stack using
"docker stack deploy --compose-file mycompose.yaml myservice".
I want to pass some values that will be using in this yaml file. Can I pass it from command line or through some other way?

curiousengineer
- 2,196
- 5
- 40
- 59
2
votes
0 answers
Using nginx to reverse proxy to Docker services
I have a Docker swarm running Docker version 1.13.1. I am regularly deploying stacks of Docker services (via docker stack deploy) to this swarm, and I have one nginx proxy service that sits at ports 80 and 443 acting as a reverse proxy to various…

Joshua Barron
- 1,532
- 2
- 26
- 42
2
votes
1 answer
Docker swarm mode create service with --mount
I am trying to create a service in docker with following command.
docker service create --name nginx-proxy --network my-net --replicas=1 -p 8088:80 -p 8043:443 --mount type=bind,src=/opt/my/nginx,dst=/etc/nginx/conf.d,readonly=true --constraint…

Munish Dhiman
- 511
- 1
- 7
- 22
2
votes
1 answer
What is a correct/better way to use docker stack deploy with independently updated services?
We have several apps that are part of a larger app.
Each of these apps has a Docker Image built on every commit.
I would like to you use docker swarm mode, and docker stacks to deploy/update this larger app automatically.
Lets pretend I have this…

Kyle Gobel
- 5,530
- 9
- 45
- 68
2
votes
1 answer
What command can I use to find out the version of docker swarm I am using?
I am unable to find a command that returns to me the docker swarm version I have installed.
abcd@lenovo9fh04:simple$ docker version
Client:
Version: 1.13.0
API version: 1.25
Go version: go1.7.3
Git commit: 49bf474
Built: Wed…

Max Copley
- 430
- 3
- 15
2
votes
1 answer
How can RabbitMQ clusters recognise Docker's container restarts?
I have three replicated containers running RabbitMQ in a Swarm Mode service. Each container acts as a RabbitMQ node to create a RabbitMQ cluster. The docker service create for this is as follows:
docker service create -e…

AmazingBergkamp
- 5,708
- 4
- 15
- 24
2
votes
2 answers
Links apps in Docker Swarm Mode
I would like to know how do we link webapp to database in docker swarm mode. I'm very new to docker swarm mode and had a basic cluster setup on my local machine. Any links would be great.
Example: Hosting a drupal application (Connected drupal cms…

Swaroop Kundeti
- 515
- 4
- 11
- 25
2
votes
1 answer
Docker usage in compose/swarm mode
I am quite new to docker and I need some help about distributing my application.
Consider this:
I have a pool of physical machines, each of them running the latest version of docker.
My "Application A" has several containers. To be clear in this…

guilhermecgs
- 2,913
- 11
- 39
- 69
2
votes
1 answer
Docker Service updatedAt timestamp
Docker Swarm API client has the following meta information for a service:
Meta.UpdatedAt
Is this the timestamp of last user-initiated update (e.g. change service configuration) OR is it a timestamp of any change on service, that even Docker Swarm…

igr
- 10,199
- 13
- 65
- 111
2
votes
1 answer
Docker Swarm Service Networking
For a DevOps university project we've been tasked with building a web video streaming service using docker and Jenkins etc. We've got completely free reign over how we do it... Swarm looked interesting so I thought I'd give it a go (as it does…

dijksterhuis
- 1,225
- 11
- 25