swarmexec

swarmexec_ docs

Operating the client — commands, flags, config & the TUI.

swarmexec gives you docker exec -it, logs, port-forwarding and volume management against any container in a Docker Swarm, from one terminal. A small per-node agent (a global Swarm service) does the work on its node; the client asks the Swarm manager which node runs your target, then connects straight to that node's agent over TLS (mutual TLS, or a shared secret). These pages document the client; for whole workflows — debugging a crash, rotating a secret, gating a deploy — see the recipes.

Getting started

Commands

Setup & reference

The TUI

Reference

How it works

Two binaries, one wire protocol:

operator terminal ──gRPC/mTLS──> agent(nodeN) ──docker.sock──> container │ └── Docker manager API (resolve node + container id)

The manager connection uses your Docker CLI context (so it honours --context, ssh:// bastions, mTLS, etc.). The agent connection is authenticated with mutual TLS, or with a shared secret against a self-signed agent — see Authentication.