What is lazydocker?
lazydocker is a simple terminal UI for both Docker and docker-compose created by Jesse Duffield (same author as lazygit). It provides a unified interface to manage your Docker environment, view logs, monitor metrics, and perform common operations without memorizing complex commands. With over 45k GitHub stars, it's the most popular Docker TUI available.
β‘ Key Features of lazydocker
π Visual Overview
See the state of your entire Docker environment at a glance. Containers, images, volumes, and networks in one unified view.
π Real-time Metrics
ASCII graphs showing CPU, memory, and network usage. Customizable metrics to monitor exactly what you need for your containers.
π Log Management
View logs for containers and services with filtering, following, and search capabilities. No more juggling multiple terminal windows.
π§ Container Operations
Start, stop, restart, remove, and rebuild containers with single keystrokes. Attach to containers for interactive debugging.
ποΈ Image Management
View image layers, ancestry, and disk usage. Prune unused images, containers, and volumes to reclaim disk space.
π Mouse Support
Full mouse support for clicking, scrolling, and selecting. Keyboard shortcuts for power users, mouse for convenience.
apt upgrade keeps you on the latest version.
π¦ Installation from deb.griffo.io
Step 1: Add Repository
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt updateinstall -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt updateπ There is an always-free mirror. deb-free.griffo.io serves packages free forever β no account, no subscription, at most 2 months behind upstream, security fixes immediately. It currently carries Ghostty, Oh My Posh and Zed; lazydocker is not one of them, so the repository above is the only way to get it today β ask and it can be enrolled.
Step 2: Install lazydocker
# Install latest lazydocker
sudo apt install lazydocker
# Verify installation
lazydocker --version# Install latest lazydocker
apt install lazydocker
# Verify installation
lazydocker --versionπ― Basic Usage Examples
Launch lazydocker:
# Start lazydocker
lazydocker
# Create convenient alias
echo "alias lzd='lazydocker'" >> ~/.bashrc
source ~/.bashrc
# Use the alias
lzdEssential keybindings:
# Navigation
j/k or β/β - Move up/down
h/l or β/β - Switch between panels
tab - Next panel
# Container operations
r - Restart container
s - Stop container
d - Remove container
e - Exec into container
m - View logs
# System operations
p - Prune unused containers/images
R - Rebuild service (docker-compose)
u - Refresh/update viewAdvanced workflows:
# View container stats and metrics
# Navigate to containers panel, select container, view graphs
# Bulk operations
# Select multiple containers and perform operations
# Custom commands
# Configure custom commands in config file
# Log filtering
# Use search functionality in log viewπ Why Choose deb.griffo.io?
- Official Debian: Available but often outdated versions
- Manual Installation: Requires Go toolchain or manual binary management
- deb.griffo.io: Latest version with automatic updates
- β Latest Docker Support: Get newest Docker and docker-compose feature support
- β No Manual Compilation: Pre-built binaries, no Go toolchain needed
- β Automatic Updates: Packages updated within hours of upstream releases
- β Proper Dependencies: Correctly packaged with Docker integration
- β Multi-Distribution: Works on Bookworm, Trixie, and Sid
- β Easy Maintenance: Standard apt commands for updates
π¦ Package Build Repository
The Debian packages are automatically built and maintained in this GitHub repository:
- π lazydocker-debian - Latest release builds
π Related Packages
Also available from deb.griffo.io:
- lazygit - Terminal UI for Git (same author)
- Ghostty Terminal - Modern terminal emulator
- fzf Fuzzy Finder - Enhanced command searching
π Support This Project
If this repository saves you time and effort, please consider supporting it!