Query by container
witr --container redisOne flag searches every container runtime detected on the machine. You do not need to know which one is holding the container you are looking for.
Runtimes covered#
- Docker, including compose project and service mappings
- Podman
- nerdctl
- Kubernetes, through kubepods or crictl
- containerd
- Colima (macOS and Linux)
- Incus, LXC and LXD (Linux)
- Jails (FreeBSD)
Each runtime needs its CLI on PATH for witr to reach it — docker, podman, nerdctl, crictl, incus, lxc, lxc-ls, jls.
What it matches on#
The --container flag matches against:
- container name
- image
- command
- compose project and service labels
So witr --container redis finds the container whether it is named redis, built from the redis:7 image, or is the redis service in a compose project called something else entirely.
Getting the detail#
witr --container redis --verboseAdds mounts, networks and compose metadata to the output — the things you would otherwise assemble from docker inspect and a lot of scrolling.
Repeatable and mixable#
witr --container redis --container postgres --port 8080In the TUI#
The interactive dashboard has a Containers tab listing every container across every runtime in one view — name, image, status, ports and command — with a per-container detail pane for mounts, networks and compose project metadata.
Next: Query by File for lock investigations.