Shameless plug: I'm also developing a GUI for Docker Swarm, if you don't feel like fiddling with command line too much: https://lunni.dev/
The getting started guide will walk you through setting up a single-node Docker swarm from a clean Debian / Ubuntu install: https://lunni.dev/docs/install/
> I'm also developing a GUI for Docker Swarm, if you don't feel like fiddling with command line too much: https://lunni.dev/
This seems like a cool idea, I wish you the best of luck!
I will, however, also link Portainer, which I've used for both Docker Swarm and Kubernetes management: https://www.portainer.io/
It does basically everything you might want (it even gives you redeployment webhooks, which will make new containers be pulled, if you enable them), with the caveats that they're focusing a lot on adding paid functionality nowadays and infrequently you might have connectivity issues, which a redeploy of Portainer will fix.
When I did use it, however, it did feel a little bit broken in places and the experience wasn't quite as smooth as Portainer was (also, for whatever reason, it seemed to give me back different YAML than the one that I had last deployed, maybe generating it on the fly?). No idea what was up there, but the UI was pleasant regardless.
So I think it'd be pretty cool if someone were to borrow the ideas that work from either those as inspiration for their own tool! :)
On the CLI, there's also ctop, which is nice for inspecting the current containers on a node, even if it doesn't really have much to do with Swarm: https://ctop.sh/
As a satisfied Swarm user, and with positive signs regarding Docker Swarm's future (repo activity up, Mirantis talking about it and its future), I wondered if there would be an opportunity to propose managed hosting of Swarm deployments. Not having much time to work on it right now, I'm happy to see someone else doing it. Best of luck!
I built my own GUI along similar lines using ImGui/Wasm for personal use; figured that as K8s/complexity already won the mindshare there wasn't much point in releasing tooling for simple (aka unfashionable) tech.
^ takes you through a 3 server setup and deploying services via the CLI rather than a docker "stack" file, which is basically a compose file with the ability to set additional deployment specific properties.
just set up the one manager and skip anything about additional worker nodes or draining nodes.
for docker stack files -- see the docker compose v3 reference but take heed of any `docker stack deploy` caveats in the compose documentation. anything about docker stack deploy` is "stack file" territory.
compose file v3 is being depreciated this year, with a new specification aiming to unify the two. but it gives you an idea of the historical differences between old `docker-compose up` and `docker stack deploy` (swarm).
notpushkin|3 years ago
Shameless plug: I'm also developing a GUI for Docker Swarm, if you don't feel like fiddling with command line too much: https://lunni.dev/
The getting started guide will walk you through setting up a single-node Docker swarm from a clean Debian / Ubuntu install: https://lunni.dev/docs/install/
KronisLV|3 years ago
This seems like a cool idea, I wish you the best of luck!
I will, however, also link Portainer, which I've used for both Docker Swarm and Kubernetes management: https://www.portainer.io/
It does basically everything you might want (it even gives you redeployment webhooks, which will make new containers be pulled, if you enable them), with the caveats that they're focusing a lot on adding paid functionality nowadays and infrequently you might have connectivity issues, which a redeploy of Portainer will fix.
I've also heard of and used Swarmpit a while back: https://swarmpit.io/
When I did use it, however, it did feel a little bit broken in places and the experience wasn't quite as smooth as Portainer was (also, for whatever reason, it seemed to give me back different YAML than the one that I had last deployed, maybe generating it on the fly?). No idea what was up there, but the UI was pleasant regardless.
So I think it'd be pretty cool if someone were to borrow the ideas that work from either those as inspiration for their own tool! :)
On the CLI, there's also ctop, which is nice for inspecting the current containers on a node, even if it doesn't really have much to do with Swarm: https://ctop.sh/
raphinou|3 years ago
intelVISA|3 years ago
I built my own GUI along similar lines using ImGui/Wasm for personal use; figured that as K8s/complexity already won the mindshare there wasn't much point in releasing tooling for simple (aka unfashionable) tech.
skibbityboop|3 years ago
2. Type 'docker swarm init'
3. There is no 3, you're literally finished and now have a full-on Swarm node w/ all features.
dijksterhuis|3 years ago
general intro https://docs.docker.com/engine/swarm/
step by step tutorial https://docs.docker.com/engine/swarm/swarm-tutorial/
^ takes you through a 3 server setup and deploying services via the CLI rather than a docker "stack" file, which is basically a compose file with the ability to set additional deployment specific properties.
just set up the one manager and skip anything about additional worker nodes or draining nodes.
for docker stack files -- see the docker compose v3 reference but take heed of any `docker stack deploy` caveats in the compose documentation. anything about docker stack deploy` is "stack file" territory.
https://docs.docker.com/compose/compose-file/compose-file-v3...
compose file v3 is being depreciated this year, with a new specification aiming to unify the two. but it gives you an idea of the historical differences between old `docker-compose up` and `docker stack deploy` (swarm).