Do we need a docker swarm setup?
See original GitHub issue@1ubuntuuser do you really need a swarm setup?
Does the community really need the swarm setup?
- docker is being replaced by more free and open source alternatives in many places.
- Docker has built-in
docker swarm
. The alternatives don’t. e.g.podman
doesn’t have swarm mode. - When things need to be distributed Kubernetes is where everyone is focusing on.
- Storage is also a challenge: docker volumes by default are mounted on the hosts where the containers run.
- For shared volumes across nodes, NFS is needed and any other alternative is also a challenge.
- There is no dedicated loadbalancer, we choose one of our manager node as loadbalancer and tie the stacks to that node only using labels. In case of kubernetes there variety of ingress-controller/loadbalancer alternatives available which are dedicated loadbalancers
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Create a swarm - Docker Documentation
Open a terminal and ssh into the machine where you want to run your manager node. This tutorial uses a machine named manager1...
Read more >What is Docker Swarm: Modes, Example and Working [Updated]
We can use Docker Swarm to make Docker work across multiple nodes, allowing them to share containers with each other.
Read more >How to Install and Configure Docker Swarm on Ubuntu
Provides Docker Engine CLI to create a swarm of Docker Engines where you can deploy application services. · Install one of the service...
Read more >What is Docker Swarm Mode and When Should You Use It?
Here's how you can use Swarm mode to set up simple distributed workloads across a fleet of machines. You should use Swarm if...
Read more >Docker Swarm Rocks
Set up swarm mode. In Docker Swarm Mode you have one or more "manager" nodes and one or more "worker" nodes (that can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I hope to use this system up to a point where swarm mode is required. For quick setups, I use docker-compose but I have migrated a few services to swarm for the following reasons:
You are right about the pain of file storage. I have used AWS EFS with NFS between nodes. Rock solid for years.
I suggest focusing on making the docker compose experience very quick and easy, and removing complications related to swarm. If anyone wants to use swarm mode, they’ed better know what they are doing.
If someone want’s to get a start on swarm, they can review the removed and obsolete files here. https://github.com/frappe/frappe_docker/commit/b83938c0b89617fb8eb618fe42bd8a0019e89a09