MCPcopy Index your code
hub / github.com/LuuNa-JD/dockrtui

github.com/LuuNa-JD/dockrtui @v0.1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.3 ↗ · + Follow
270 symbols 625 edges 19 files 34 documented · 13% updated 7mo ago★ 129
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🐳 DockrTUI

A fast, modern and keyboard-driven terminal dashboard for Docker — built with Rust and ratatui.
Because managing containers shouldn’t feel like typing spells in Bash.


Your browser does not support the video tag.

🎥 See DockrTUI in action!
Browse containers, networks & compose projects at lightning speed — all from your terminal.


🚀 Features

  • Containers, Images, Networks, Volumes & Compose — all in one place
  • Quick actions — start, stop, restart, inspect, prune
  • Smart search and filtering
  • Built-in shell inside containers (cd, history, autocomplete, etc.)
  • Compose integration — detect and control your Compose projects
  • Volume management — list, inspect, delete, and prune unused volumes
  • Clean, efficient TUI powered by ratatui

⚡ Installation

You can install DockrTUI directly with Cargo:

cargo install dockrtui

Once installed, run it from anywhere:

dockrtui

🐧 Requires Docker CLI installed and running. Tested on Linux and WSL2.


🔌 Docker Socket Detection

DockrTUI automatically detects which Docker socket to use:

Priority:

  1. DOCKER_HOST environment variable (same as Docker CLI)

  2. Rootless Docker socket: /run/user/$UID/docker.sock

  3. Classic rootful Docker socket: docker.sock

This means DockrTUI works out-of-the-box with:

  • Docker Desktop

  • Docker rootless mode

  • Podman (via Docker API compatibility)

  • Custom Docker contexts (docker context use …)

If you want to explicitly override the socket:


export DOCKER_HOST=unix:///run/user/1000/docker.sock

dockrtui


🕹️ Usage

Navigate everything with your keyboard:

Key Action
Tab Switch tab
/ Navigate
Enter / Space Start / stop container
r / F5 Refresh
b Open built-in shell
t Show stats
l Show logs
q Quit

🧭 Tabs Overview

  • Containers → view, start, stop, restart, inspect
  • Images → list, remove, check creation date and size
  • Networks → inspect, clean, or create networks
  • Compose → view detected Compose projects and run up, down, logs, etc.
  • Volumes → list, inspect, delete, and prune unused volumes

🐚 Built-in Shell

Each container can be opened in an interactive shell directly from the UI. Supports cd, autocompletion with Tab, and persistent working directory.


🛠️ Requirements

  • Docker CLI (docker ps must work)
  • UTF-8 terminal with 256 colors
  • Rust toolchain (only for installation)

💡 Example

dockrtui

Then use Tab to move between Containers, Images, Networks, and Compose.


⚖️ License

MIT License © OrbitNet

Built with ❤️ in Rust.

Core symbols most depended-on inside this repo

push
called by 101
src/ui/mod.rs
title
called by 49
src/theme.rs
block
called by 23
src/theme.rs
note_ok
called by 11
src/ui/containers/view.rs
note_warn
called by 9
src/ui/containers/view.rs
visible_indices
called by 9
src/ui/containers/view.rs
lerp
called by 9
src/ui/containers/util.rs
note
called by 8
src/ui/logs.rs

Shape

Method 167
Function 67
Class 19
Enum 17

Languages

Rust100%

Modules by API surface

src/ui/stats.rs31 symbols
src/ui/containers/view.rs29 symbols
src/ui/logs.rs28 symbols
src/ui/networks.rs26 symbols
src/ui/images.rs25 symbols
src/ui/volumes.rs22 symbols
src/ui/compose.rs21 symbols
src/docker.rs19 symbols
src/ui/containers/shell.rs18 symbols
src/ui/mod.rs15 symbols
src/ui/splash.rs13 symbols
src/ui/containers/rocket.rs5 symbols

For agents

$ claude mcp add dockrtui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact