Terminal UI for managing and monitoring Docker containers with real-time stats, advanced log viewing, and keyboard-driven workflow.
dtop is a terminal user interface for Docker container management and monitoring. It provides real-time statistics including CPU, memory, network I/O, and disk I/O through parallel streaming collection from the Docker API. The tool supports full container lifecycle operations including start, stop, pause, restart, shell execution, removal, and recreation with docker-compose support.
The interface features an advanced log viewer with search capabilities, filter expressions using AND/OR/NOT operators, follow mode, time-range filtering, and export functionality. Container inspection is available in both tree and JSON views with search, expand/collapse functionality, and the ability to copy paths and values. The tool is designed with a keyboard-first approach where every action has a shortcut, though mouse interaction is fully supported.
Configuration options include customizable column layouts with adjustable widths and weights, preset and fully custom themes with semantic color definitions, and persistent settings stored in ~/.docker_tui.json. The tool includes a legacy curses interface fallback mode and requires Python 3.8+ with access to the Docker daemon socket. It's particularly useful for developers and system administrators who need efficient Docker container monitoring and management from the terminal.
# via pip
pip install dtop
# via GitHub
pip install git+https://github.com/StakeSquid/dtop.git
# via Script
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/StakeSquid/dtop/main/scripts/install.sh)"