Docker-swarm is a tool that is able to create a cluster of docker nodes and deploy containers in this cluster.
Questions tagged [docker-swarm]
186 questions
0
votes
1 answer
Inspect docker stack via ansible
I want to use ansible to know whether a docker stack is deployed. In the shell I'd do something like: docker stack services -q my_stack_name.
I could use the shell module, but then I have to manually handle errors and idempotence.
Is there a module…

lonix
- 896
- 10
- 23
0
votes
2 answers
Docker swarm routing mesh times out
I have two machines running on Ubuntu 18.04 with Docker version 18.09.9 installed on them. I've setup a swarm cluster with the manager node advertising its public IP and the worker node advertising its private IP :
// On manager
docker swarm init…
Antoine Bellion
0
votes
1 answer
High availability docker swarm
I have a Docker swarm cluster running on several servers (nodes).
Docker swarm is using round robin to serve requests to my services and this is working well no matter which server receives a request.
Now I wonder how to route a URL to this setup to…

mpaepper
- 105
- 4
0
votes
2 answers
Adding volume to docker database breaks container
all
I've been working for some time with a Docker LEMP stack, and, up until now, have not had to use my MySQL portion. Today, when I added a volume to the compose file, it seems to have broken the container.
Without the volume attached, the…

jkmurrell
- 11
- 1
- 6
0
votes
1 answer
Container orchestration that allows to orchestrate existing docker containers
I have been working with Docker for quite some time now and already have a production environment that started small but now has grown to more than 50 Linux nodes, each of those nodes running one Docker container.
I have been orchestrating…

Tony
- 269
- 4
- 15
0
votes
1 answer
Docker - Restricting communication access between containers on the same overlay network
We want to use docker swarm with Elasticsearch in containers. That is multiple instances of Elasticsearch in different Docker hosts that operate in a swarm.
However, we would like to use a large subnet and then restrict access between containers per…

nillenilsson
- 153
- 1
- 8
0
votes
1 answer
Docker UDP port binding fails with expose
I have a container that runs a server that listens port 5000 for UDP connections. Dockerfile has EXPOSE 5000/udp set and when I run the container, I can see that PORTS has 5000/udp correctly.
However it doesn't work as expected because the client…

jimmy
- 121
- 1
- 5
0
votes
1 answer
Docker hybrid swarm mesh routing not workingwindows
Windows Version: Server 2019
Docker for Windows Version: 18.09.0
Linux Version: Ubuntu 18.04.1 LTS
Linux Node Docker Version: 18.09.0
Issue: Ingress routing between nodes in hybrid (linux/windows) swarm is not working as intended
Overview: Two…

stevenmiller
- 113
- 6
0
votes
2 answers
ubuntu 18.04 docker swarm ipv6
Unfortunately I am not able to dump configs in here so I will attempt to describe.
I have a docker compose file, when I do a docker up on it things work fine.
However, when I start it with docker stack deploy --compose-file {the file that worked} I…

ipv6dockerswarm
- 3
- 2
0
votes
1 answer
Reverse Proxy for Docker Swarm with Dynamic Ports
I have the following set up:
Docker swarm with 1 master and 2 workers.
Portainer service that manages the swarm.
A web app that is using nginx that runs on the master machine.
I want to use nginx to reverse proxy the rest of the swarm services…

B.C
- 101
- 2
0
votes
1 answer
Can hosts join (i.e. be part of) more than one docker swarm?
It may sound a naive question, but I haven't found it stated anywhere:
is there a way to use the same machines to run different service stacks?
e.g. having
Stack A: service X, service Y
Stack B: service Z, service J, service K
for the sake of…

Pynchia
- 103
- 4
0
votes
1 answer
How to connect Docker Swarm services to an ordinary Docker network?
I have a single small VPS that has a variety of services on it, such as a WordPress installation and a few web apps. For some while I have run all the services on it as Docker containers. Since I have a variety of domains and subdomains pointing to…

halfer
- 161
- 1
- 5
- 25
0
votes
0 answers
Swarm Shared Volumes in Azure with Cloudstor
I'm facing some issues with Docker Swarm volumes using Cloudstore Driver (on azure), when we try to update a docker service after the successful creation of it, the update fails with:
""Error response from daemon: located 1 sets of existing volumes…

Gotttlieb
- 25
- 5
0
votes
1 answer
How to serve static contents through Traefik
I currently have a docker setup in which one nginx container serves static contents for a number of wordpress sites and proxies dynamic requests to the respective php-apache containers. When I deploy a new php-apache container I just drop in a new…

jeremyjr
- 375
- 2
- 7
- 15
0
votes
2 answers
Docker Error creating external connectivity network
i am trying to deploy a portainer/agent stack with the recommended docker compose configuration as suggested in the official documentation (https://portainer.readthedocs.io/en/stable/agent.html), and it deploys and runs correctly on all the nodes…

X0r0N
- 245
- 1
- 3
- 7