ScriptsApr 11, 2026·2 min read

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.

TL;DR
Lazydocker shows containers, images, logs, and stats in one terminal dashboard.
§01

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.

§02

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.

§03

How to use

  1. Install Lazydocker: brew install lazydocker or go install github.com/jesseduffield/lazydocker@latest
  2. Run lazydocker in your terminal
  3. Navigate with arrow keys, press Enter on containers to see logs, stats, and actions
§04

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
PanelInformation
ContainersStatus, ports, uptime
ImagesTags, size, layers
VolumesMount points, size
LogsReal-time container output
StatsCPU, memory, network I/O
§05

Related on TokRepo

§06

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

How does Lazydocker compare to Docker Desktop?+

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.

Does Lazydocker support Docker Compose?+

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.

Can I use Lazydocker on a remote server?+

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.

Does Lazydocker support custom configurations?+

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.

Is Lazydocker resource-intensive?+

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)

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets