Docker Tea is a modern terminal-based UI for Docker management. It provides a clean, intuitive interface for monitoring and controlling Docker containers, images, volumes, and networks from your terminal.
-
Multi-tab interface for managing different Docker resources
- 🐳 Containers
- 📦 Images
- 💾 Volumes
- 🌐 Networks
-
Container management
▶️ Start, ⏹️ stop, 🔁 restart, ⏸️ pause, ⏯️ unpause, ⚡ kill, and 🗑️ remove containers- 🔍 View detailed container information
- 📜 View container logs
- 📊 Monitor container resource usage in real-time
-
Resource inspection
- 🔍 Detailed inspection of containers, images, volumes, and networks
- 👁️ User-friendly presentation of resource information
- 📊 Real-time container resource monitoring (CPU, memory, network, I/O)
-
Keyboard navigation
- Vim-style navigation (j/k)
- Arrow keys support
- Tab navigation between resource types
- Go 1.18 or higher
- Docker installed and running
- Make (optional, for using Makefile)
-
Clone the repository:
git clone https://github.com/klejdi94/docker-tea.git cd docker-tea -
Build and run the application:
Using Makefile (recommended):
# Build the application make build # Build and run the application make run # Show all available commands make helpUsing Scripts:
For Windows:
.\scripts\run.batFor Linux/macOS:
chmod +x ./scripts/run.sh ./scripts/run.sh
- 🚪
q: Quit - ❓
?: Toggle help - 🔄
r: Refresh data
↑/k: Move up↓/j: Move downTab/→: Next tabShift+Tab/←: Previous tabHome: Go to topEnd: Go to bottomPage Up: Page upPage Down: Page down
- 🔍
i/Enter: Inspect selected resource - 📜
l: View logs (containers only) - 📊
m: Monitor resource usage (containers only) - ←
Esc: Back to list view
▶️ s: Start container- ⏹️
S: Stop container - 🔁
R: Restart container - ⏸️
p: Pause container - ⏯️
u: Unpause container - ⚡
K: Kill container - 🗑️
d: Remove container
cmd/docker-tea/: Main application entry pointinternal/: Internal packagesconfig/: Configuration managementdocker/: Docker API interactionui/: User interface components
scripts/: Build and run scriptsrun.bat: Windows scriptrun.sh: Linux/macOS script
Makefile: Build automation
# Using Go directly
go build -o docker-tea ./cmd/docker-tea
# Using Make
make build
# Build for multiple platforms
make build-all
This project is licensed under the MIT License - see the LICENSE file for details.
- Bubble Tea - The TUI framework
- Docker Engine API - Docker API documentation