swarmexec_

Cluster-wide docker exec -it for Docker Swarm.

Instead of docker node ls, finding the node, ssh node-3 and docker exec, just run: swarmexec exec web -- sh
cluster-wide exec — shell into any task, from one terminal

Get an interactive shell (or run a one-off command) inside any container in a Swarm — plus logs and swarm-wide volume management — from a single terminal, without SSHing to the node that happens to run the task. A small per-node agent, a scriptable CLI/TUI, mTLS auth and an audit log.

It also audits the cluster: one command writes a Markdown security report over every service, plus checks no single service can answer — unencrypted overlay networks carrying traffic, managers that are not autolocked, agent version skew, unused secrets and configs. It states where it came from and what it did not look at, and its order depends only on the findings, so two reports diff cleanly.

$ swarmexec init # deploy the agent on every node $ swarmexec exec web -- sh # shell into a task, any node $ swarmexec ui # interactive TUI $ swarmexec security report # audit the whole cluster, as Markdown
The per-node agent ships on Docker Hub: logleio/swarmexec-agent
More builds (always latest release): linux-arm64 · darwin-arm64 · darwin-amd64 · windows-amd64