Lazydocker — The Lazier Way to Manage Everything Docker
Lazydocker is a simple terminal UI for managing Docker and Docker Compose. See containers, images, volumes, logs, and stats in a single dashboard. Stop, restart, remove, prune, view logs — all without memorizing docker commands.
What it is
Lazydocker is a terminal user interface for managing Docker and Docker Compose. It presents containers, images, volumes, logs, and resource stats in a single dashboard. You can stop, restart, remove, and prune Docker resources without memorizing docker commands. It updates in real-time and requires no configuration.
Lazydocker targets developers and DevOps engineers who work with Docker daily but find the CLI cumbersome for routine management tasks. Run lazydocker and you see everything at once instead of typing separate commands for each piece of information.
Why it saves time or tokens
Checking container status, reading logs, viewing resource usage, and managing images each require separate Docker CLI commands. Lazydocker consolidates all of this into one view. For developers using AI-generated Docker setups, Lazydocker provides instant visual validation that containers are running correctly without typing diagnostic commands.
How to use
- Install Lazydocker:
brew install lazydockerorgo install github.com/jesseduffield/lazydocker@latest - Run
lazydockerin your terminal - Navigate with arrow keys, press Enter on containers to see logs, stats, and actions
Example
# Just run it
lazydocker
# Keyboard shortcuts:
# [ ] - Switch between panels
# Enter - Select/expand
# d - Remove container
# s - Stop container
# r - Restart container
# l - View logs
# e - Exec shell into container
# p - Prune unused resources
| Panel | Information |
|---|---|
| Containers | Status, ports, uptime |
| Images | Tags, size, layers |
| Volumes | Mount points, size |
| Logs | Real-time container output |
| Stats | CPU, memory, network I/O |
Related on TokRepo
- AI tools for devops — container and infrastructure tools on TokRepo
- AI tools for automation — Docker workflow automation
Common pitfalls
- Lazydocker connects to the Docker socket; if Docker is not running, lazydocker fails to start
- The prune action removes all unused resources (stopped containers, dangling images, unused volumes); use it carefully in shared environments
- Lazydocker shows Docker Compose services only if the compose file is in the current directory or parent directories
Frequently Asked Questions
Docker Desktop is a full GUI application with Kubernetes support, Docker Hub integration, and extensions. Lazydocker is a lightweight terminal UI focused on container management. Use Docker Desktop for visual management with broad features. Use Lazydocker when you want to stay in the terminal or on a remote server without a GUI.
Yes. Lazydocker auto-detects Docker Compose projects and groups containers by service name. You see which services are running, view their logs, and manage them individually or as a group. It reads docker-compose.yml from the current or parent directory.
Yes. SSH into the server and run lazydocker. Since it is a terminal application, it works over any SSH connection. This is one of its advantages over Docker Desktop, which requires a local GUI environment.
Yes. Lazydocker supports a configuration file where you can customize key bindings, set the default log tail length, configure the stats refresh rate, and add custom commands to the container menu. The config file is located at ~/.config/lazydocker/config.yml.
No. Lazydocker uses minimal CPU and memory. It queries the Docker API for container information and renders it in the terminal. The resource overhead is negligible compared to the Docker containers themselves.
Citations (3)
- Lazydocker GitHub— Lazydocker is a terminal UI for Docker management
- Docker Engine API— Docker container management APIs
- Docker Compose— Docker Compose for multi-container applications
Related on TokRepo
Discussion
Related Assets
NAPI-RS — Build Node.js Native Addons in Rust
Write high-performance Node.js native modules in Rust with automatic TypeScript type generation and cross-platform prebuilt binaries.
Mamba — Fast Cross-Platform Package Manager
A drop-in conda replacement written in C++ that resolves environments in seconds instead of minutes.
Plasmo — The Browser Extension Framework
Build, test, and publish browser extensions for Chrome, Firefox, and Edge using React or Vue with hot-reload and automatic manifest generation.