SwarmCLI - The missing CLI for Docker Swarm
Manage your clusters with the speed and efficiency you deserve. SwarmCLI provides a powerful Terminal UI for monitoring, scaling, and managing your Docker Swarm infrastructure.
The Simplicity of Docker Swarm, Modernized
Docker Swarm remains one of the most elegant and efficient orchestration tools available today. However, its standard command-line interface can sometimes feel restrictive when managing complex deployments or multiple clusters. SwarmCLI was born from the need for a more interactive and visual way to interact with Swarm nodes, services, and tasks. By providing a real-time terminal interface, we bring the observability of modern cloud-native tools to the Swarm ecosystem.
Observability Without Complexity
Monitoring a cluster shouldn't require setting up heavy infrastructure like Prometheus or Grafana just to see what's running. SwarmCLI gives you instant visibility into the health and status of your services. You can monitor resource usage, track task deployments, and inspect logs directly from your terminal with the speed and responsiveness you expect from a local tool.
Built for Developers and DevOps Engineers
Efficiency is at the core of SwarmCLI. Written in Go, it is distributed as a single static binary, making it incredibly easy to install and run on any machine, from your local workstation to a bastion host. Its design is inspired by popular tools like k9s, but tailored specifically for the unique architecture of Docker Swarm. Whether you're managing a single-node setup or a sprawling multi-region cluster, SwarmCLI scales with your needs without adding overhead.
Core Features
- Real-time Monitoring: Keep an eye on your services and tasks with zero latency.
- Stack Management: Easily manage your stacks and deployment configurations.
- Context Switching: Switch between different Swarm clusters effortlessly.
- Performance: Lightweight binary written in Go for maximum speed.
Monitor your Swarm cluster state in real-time. No more hundreds of docker service ps commands. SwarmCLI aggregates everything in a fluid overview.
Navigate hierarchically through your stacks, services, and tasks. Understand your application structure instantly.
Switch lightning-fast between local Docker engines and remote clusters via SSH contexts.
Inspect persistent volumes, their driver and where they are mounted. Browsing files, pruning and the cross-node view arrive with a license, including the free one.
SwarmCLI is written in Go and ships as one static binary for Linux, macOS, Windows and FreeBSD. Nothing to deploy, nothing left running. It drives the Docker engine you already have.
Package and version your applications, then install, upgrade, roll back and diff releases from a chart repository. swarmcli charts apply converges a swarm to a committed release file, in ordered waves.
Every action is a keystroke. l for logs, s to scale, i to inspect, : to jump to any view, and ? for the keys of whichever view you are in.
Free on up to three nodes
A free license turns on the complete Business Edition feature set (shell into a task, port-forward, volumes across every node, RBAC) on swarms of up to three nodes. Same features as a paid key; the tier decides the size of the swarm.
See what it costs beyond three
The terminal's health view, on your phone.
Get paged, open the app, see the failing service and restart it, without a laptop. Free for iPhone and Android.
SwarmCLI is a high-performance terminal user interface (TUI) designed specifically for Docker Swarm. It allows you to monitor services, scale replicas, and inspect logs in real-time with zero latency, bridging the gap between a standard terminal and a full observability dashboard.
Is it an alternative to k9s?
Exactly. While k9s is the gold standard for Kubernetes, Docker Swarm has been missing a comparable modern TUI. SwarmCLI fills that gap, offering a similar keyboard-driven experience tailored specifically for Swarm's architecture.
How do I install it?
The easiest way is via Homebrew: brew install eldara-tech/tap/swarmcli. We also provide standalone binaries for Linux and Windows on our GitHub releases page. No heavy dependencies or external runtimes are required.
Does it support multiple clusters?
Yes. SwarmCLI follows your Docker context. Simply switch your context using docker context use <name> and SwarmCLI will automatically connect to and monitor the active cluster.
Yes, SwarmCLI Community Edition is fully open source and community-driven. You can find the source code on our Eldara-Tech GitHub repository and contribute to its development.