Mimir

Containers

A control room for Docker, in the spirit of oxker: the list, the numbers and the logs on one screen, with the handful of actions you actually use. Docker's other resources are one key away in lazydocker, not reimplemented here.

The layout is two panes: the container table (name, state, CPU, memory, image) with logs under it, and the selected container's details beside it. Narrow terminals stack the panes instead.

What it does

  • Lists every container, running first, then by name. a switches between all and running only.
  • Shows live CPU, memory, image and state per row. docker stats --no-stream is sampled while the section is visible, never in the background.
  • Details for the selected container: image, ports, created date, network and block I/O, PID count.
  • Follows the selected container's logs (docker logs --tail 200), refreshed every few seconds without timestamps - most images print their own, and docker's ISO prefix makes every line wrap.
  • e opens a shell in the container as a real Terminal pane (docker exec -it <name> sh), so history, resize and scrollback work.

Keys

KeysAction
j / k, g / Shift+GMove, top, bottom
/Filter by name, image, state or ID
aAll containers / running only
sStart a stopped container, or stop a running one
pPause a running container, or resume a paused one
RRestart a running container
xRemove a stopped container (asks first)
eShell into a running container
lOpen lazydocker for resources (images, volumes, networks, Compose)
rRefresh now
?Full key list

Safety

This is the one section that changes things, so the rules are explicit:

  • Nothing is forced. Removal uses docker rm without -f. A running container must be stopped first, and removal needs a second y.
  • No bulk operations. Mimir itself never prunes, removes all, or deletes images or volumes. lazydocker manages its own actions and confirmations; docker compose stays the declarative path.
  • No hidden polling. The list and logs stop when you leave the section.
  • The CLI is the interface. Mimir does not parse the Docker socket; it runs the same docker you do, so DOCKER_HOST, contexts and rootless setups keep working. Podman's Docker-compatible service works the same way.

Docker resources: lazydocker

Mimir does not rebuild Docker's resource management. l opens lazydocker in a real PTY inside Containers. It already covers the rest of Docker:

  • images and image layers, including prune
  • volumes and networks, including inspect and delete
  • Compose projects and their services, including start/stop/restart

It uses the same docker CLI, DOCKER_HOST and contexts as the rest of Containers, so rootless and remote setups keep working. Ctrl+Alt+X or the × close label returns to the container list; Esc belongs to lazydocker's own menus.

If lazydocker is not on PATH, l opens an install pane instead of failing silently: it names the scope and shows the install command. Install it, then press r there to recheck without leaving Mimir.

Requirements

docker on PATH and a reachable daemon. If either is missing, the section says exactly that - "not found on PATH" versus "cannot connect" - and r retries after you fix it. lazydocker is optional; without it, Containers still covers the container loop.

What it is not

Not a Docker Desktop replacement. Mimir exposes only the container loop; images, volumes, networks and Compose projects are lazydocker's job, reached with l. Declarative Compose work and builds still belong to docker compose in a shell.