Features10 Terminal

A root shell on any node, without SSH.

If the app reaches the Docker daemon of a node, it can open a shell on it, or in the container of a task that runs there. Next to it a cheat sheet with the Docker commands you need most for a swarm, ready to put on the prompt.

Fig. — The cheat sheet: the swarm commands first, each with examples to copy or to put on the prompt in the Terminal.

What you can do

A root shell

The app starts a short-lived privileged alpine container on that node, pinned to a digest, that enters the host with nsenter, and removes it when you close the shell or leave the page.

No separate SSH

You need no separate SSH session: if the app reaches the Docker daemon of the node, it can open the shell. docker works there too.

A shell in a task

Open shell in the menu of a task opens a shell in its container, on the node where it runs and as the user of its image: bash if the image has it, otherwise sh. An image without sh, distroless or built FROM scratch, has no shell to open; the app says so.

Cheat sheet

Services, stacks, nodes, secrets and configs, the swarm, networks, containers, images, volumes and cleanup, each with examples.

On the prompt

Copy one, or put it on the prompt in the Terminal; you press Enter yourself.

For what the app does not do

The app does not manage stand-alone containers or compose projects on one machine, and it does not build or push images. For those, and for anything else it does not do, there is the Terminal on a node and the cheat sheet.

Example

A node reports a full disk.

Open a shell on it, check df -h, and clean up old images with docker image prune.

Inside a container

docker exec, on whichever node the task runs.

By hand you first look up the node of the task, connect to that node, find the container of the task and run docker exec -it there. Open shell in the menu of a task does that in one step, through the Docker context of its node, and the Terminal keeps the nodes in its list next to it.

Fig. — The menu of a task: Open shell opens a shell in its container, on the node where it runs.

All features

Try it on your own swarm.
Free, with the source on Codeberg. An installer for Windows 10 and 11 that installs nothing on the swarm.
Download for Windows
Version 1.8.0 · Docker-Swarm-MX-Setup.exe