Skip to main content
Bret Fisher's user avatar
Bret Fisher's user avatar
Bret Fisher's user avatar
Bret Fisher
  • Member for 6 years, 10 months
  • Last seen more than a month ago
awarded
revised
How does Docker Swarm balance tasks?
updated with more info
Loading…
answered
Loading…
answered
Loading…
comment
Docker managers are losing quorum on AWS
Since you're using EE I recommend contacting docker support for that, definitely sounds like a misconfiguration. success.docker.com/support
comment
Docker managers are losing quorum on AWS
What instance sizes are you using? Don't use T2 or anything that cap's CPU. Also be sure you're sizing resources based on UCP/DTR requirements and best practice arch. docs.docker.com/datacenter/ucp/2.2/guides/admin/install/… success.docker.com/article/docker-ee-best-practices
comment
Docker swarm replica stays 0/1 and service stays in status new
Other useful tools could be docker events, docker service inspect, and docker container inspect (on that ify7vhl0l2m8). I'd also do a watch docker service ps serviceNameX to see if tasks were re-spawing but indeed it's weird to see a single task "running" but a 0/1 in service ls.
awarded
comment
Windows Docker in swarm with Linux nodes connection issue
OK I updated my answer to ensure you're testing the networks in the way they are intended, and also corrected my statement about 17.06 vs. 17.09.
revised
Loading…
awarded
revised
Loading…
comment
Windows Docker in swarm with Linux nodes connection issue
Hmm, is IPv6 enabled on Windows (it needs to be). Can you curl a Linux nginx container from Windows? The availability of ping working in VIP's has been different across versions so I wouldn't rely on it as a connectivity test.
Loading…
Loading…
comment
Is a decentralized Docker swarm possible?
While Peter is correct, the idea you have about desktops in a dynamic swarm has lots of concerns and potential issues in its design. Swarm managers need to be an odd number and generally only 3-7 of them in a Swarm. Nodes must have well-connected networks to each other with a list of ports open and no NAT between them. Your idea sounds fun, but is not what Swarm was designed for unless your desktops are all Linux hosts that mostly stay up and managers are on fixed IP's.
awarded
awarded