Questions tagged [docker-swarm]

Part of the docker software suite to cluster docker servers into a single virtual service.

The swarm uses the normal docker API, thus any software which can communicate with docker, including the command line docker client, can also use a swarm.

Most use cases heavily utilize the feature of the transparent communication of the containers between the docker hosts. Additionally, it simplifies deployment to multiple hosts and provides HA.

69 questions
9
votes
2 answers

Options to assign a static ip to a service running in docker swarm

Situation: docker swarm with 3+ nodes service running in the swarm with replicas=1 and restart=always swarm hosts have multiple interfaces - one for each vlan, with the same name service is deployed as a stack I want to replace a service running…
vlad b.
  • 193
  • 1
  • 6
5
votes
1 answer

Will Docker Swarm work if masters are spread over 3 continents?

I need to deploy a highly available Docker Swarm on Azure. I created a VNet in 3 locations: Brazil South (my location), East US and West Europe. Then I enabled network peering so VMs in these locations can see each other as if they were in the same…
Igor Gatis
  • 153
  • 3
3
votes
0 answers

Docker Swarm Service Health Check?

Docker Swarm provides a nice way to configure container health checks in the Docker file or a stack compose file. Health status of a container can be checked using docker inspect or just docker ps on the hosting machine. However, I…
Ashley Aitken
  • 131
  • 1
  • 4
1
vote
1 answer

How does Docker Swarm balance tasks?

From docs.docker.com - force-the-swarm-to-rebalance I can see that Docker Swarm "tasks are given to less busy nodes" to reach eventual balance. I'm trying to find more info on what "busy" means exactly. For us, running a lot of Java microservices,…
Worp
  • 679
  • 4
  • 10
  • 19