Swarmdash: an open-source admin panel for Docker Swarm (looking for feedback)

Hi everyone,

I’ve been running Docker Swarm in production for a while and kept missing a UI that covers day-to-day work: exec into a container on any node, follow a rollout, rotate a secret, give a teammate read-only access. Swarmpit hasn’t seen much activity lately, and in Portainer CE features like RBAC, SSO and GitOps are Business Edition only. So I built swarmdash and released it under Apache-2.0.

How it works

It’s a single Go binary with two modes:

  • admin runs on a manager node and serves the UI. It talks to the Swarm API for stacks/services/tasks/nodes.
  • agent runs on every node. docker exec isn’t swarm-aware: you have to reach the daemon on the node that is actually running the container. The agent does exactly that for exec/logs/stats, authenticated with a shared cluster secret. Admin reaches it at the node’s Swarm advertise address, so no extra overlay network is needed.

State (users, sessions, audit log, tokens) is stored in embedded SQLite by default. You can switch to MongoDB if you want more than one admin replica.

Features

  • Stacks, services, tasks, nodes: scale, update image, rollback, force restart, bulk actions, placement constraints
  • Deploy from compose (long syntax, ${VAR}, healthchecks, NFS volumes) with a dry-run preview, stack edit/history/rollback, templates
  • GitOps: point a stack at a git repo/branch and it stays in sync (poll or webhook)
  • Web console per task: full-TTY shell, live logs, docker stats, file browser. Logs can also be merged per service or per stack
  • Secrets & configs: see which services use each one, rotate in one step
  • Image updates to the newest patch/minor/major tag, manually or automatically per service (swarmdash.autoupdate label)
  • Live rollout view, topology graph, public /status page for uptime monitors
  • Users & roles, OIDC SSO, TOTP 2FA, API tokens, audit log, CI/CD deploy webhooks
  • Opt-in hardening: mTLS between admin and agent, HTTPS, encrypted registry credentials

Quick try (single node)

export SWARMDASH_CLUSTER_SECRET=$(openssl rand -hex 32)

docker run -d --name swarmdash-agent --network host \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v swarmdash-backups:/var/lib/swarmdash/backups \
  -e SWARMDASH_CLUSTER_SECRET \
  emmtvv/swarmdash agent

docker run -d --name swarmdash-admin -p 8870:8870 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -e SWARMDASH_CLUSTER_SECRET \
  emmtvv/swarmdash admin

docker logs swarmdash-admin   # bootstrap admin password

Then open localhost:8870.

What I’d love to hear

If you run Swarm in production: what’s the most annoying part of your daily workflow, and what would you need to replace your current tool? Bug reports and feature requests are very welcome here or on github.

You can also visit the product website for more information: https://swarmdash.app

Thanks!

Great to see that someone cares about a management UI specifically for Docker Swarn!

I assume rbac is for swarmdash, and not offered for the docker api itself, right?

Back when Docker still had UCP in Docker Enterprise, it allowed creating user configs (consisting of a keypair and some scripts to execute or add to .bashrc) that users could use to administrate a swarm cluster remotely via docker cli. If I remember right rbac’s applied to the cli as well back then.

I wish you all the best with swarmdash and hope more contributors will join your project!

Thank you for your feedback!
Yes, RBAC is implemented on swarmdash side.

Hey Egor!

May I suggest adding a description to the Docker Hub repository, that at least explains what it is, how to get started, and where to find the docs and source repository?

Right now there is no description at all. Many people do not touch images that have no description.

Furthermore, adding a link to the source repo is always a good idea, as it adds trust if users can verify the sources for themselves.

Update: this was fast. I can see that there is a description now.

Thank you for your advice! Just filled the description.