dtop: An Interactive Terminal Dashboard for Real-Time Docker Container MonitoringArticle · digest for October 16
First-person view of a terminal screen displaying the interactive dtop dashboard for monitoring Docker containers
Article2 sections≈ 3 min

dtop: An Interactive Terminal Dashboard for Real-Time Docker Container Monitoring

How many times a day do you open a terminal and type docker stats? Probably dozens. And every time, you hit the same walls: an endless list of containers scrolls by, you can't sort columns with a click or arrow keys, and finding out which process just ate all host RAM means opening another terminal window and grepping container IDs by hand.

Spinning up a heavy web UI like Portainer for a couple of servers feels like overkill. Meanwhile, wiring up Prometheus, cAdvisor, and Grafana on smaller projects often isn't worth the setup time. Just like with Reslop 0.2.6: a real-time dashboard for reviewing and fixing generated code, compact TUI tools right inside your terminal give you maximum speed with near-zero resource overhead.

Amir Raminfar, creator of the popular lightweight log viewer Dozzle, built a clean fix for this: the Rust-powered terminal dashboard dtop.

Interactive TUI Instead of Blind Stats

Unlike plain docker stats, dtop is built on modern terminal UI libraries Ratatui and Crossterm. You get a genuinely interactive control panel:

  • Instant keyboard sorting by CPU percentage, memory usage and limits (RAM / Limit), disk Block I/O, and network Net I/O.
  • Arrow-key navigation and one-key interactive shell access (exec /bin/sh or /bin/bash).
  • Live log streaming for the selected container right inside the same window.
  • OSC 8 terminal hyperlink support: if you run Dozzle, clicking a container name in modern terminals (iTerm2, Alacritty, Ghostty, WezTerm) opens its historical charts in your browser.

Zero-Install Launch and Remote Server Monitoring

Best of all, you don't even have to compile the tool locally. You can launch it immediately via a disposable Docker container by mounting the standard socket:

# Instant launch of the interactive dashboard
docker run --rm -it \
  -v /var/run/docker.sock:/var/run/docker.sock \
  ghcr.io/amir20/dtop:latest

dtop really shines when you manage multiple machines—staging, production, and database nodes. It supports multi-host monitoring out of the box over standard SSH tunnels, with no need to install agents on remote servers:

# Monitor local Docker alongside a remote production node over SSH
dtop \
  --host unix:///var/run/docker.sock \
  --host ssh://deploy@production-node-1.example.com:22

You can switch between servers with hotkeys and see your entire infrastructure picture in a single terminal window.

Installing the Binary System-Wide

If you prefer keeping the tool handy inside a tmux session, install the official binary with the installer script:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/amir20/dtop/releases/latest/download/dtop-installer.sh | sh

The dtop process itself uses only about 15–20 MB of RAM, making it virtually weightless on a work laptop.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 2