Back to feed
Dev.to
Dev.to
5/9/2026
Building a Docker debug TUI in Rust with output-aware follow-ups

Building a Docker debug TUI in Rust with output-aware follow-ups

Short summary

dux is a Rust Docker debugging tool with TUI and web interfaces that parse command output to auto-prefill follow-up command arguments, replacing repetitive copy-paste workflows. The architecture uses a single constant Cmd catalog with metadata for output types and argument kinds; both UIs share the same runner and extraction logic. Available via Homebrew and GitHub (MIT); the 2.4 MB binary starts in ~50 ms.

  • Solves Docker debugging repetition with smart output parsing and argument auto-fill
  • Single command catalog serves both TUI and web UI without duplication
  • Extensible design: adding commands or argument types requires minimal code changes

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more