LazyDocker is an open-source tool written in Go: a TUI application that simplifies managing Docker containers, images, volumes, and Docker-Compose services directly from the terminal, without needing to memorize complex commands.
Features:
Live logs and metrics: Displays real-time logs and stats (CPU/memory) for containers.
Keyboard navigation: Quick commands to move between containers and services.
Quick control: Start, stop, restart, and remove containers with a click/keypress.
Docker Compose support: Detects docker-compose.yml and allows managing services in one place.
Lightweight and visual interface: Ideal for remote servers or terminal preferences.
Mouse support and customizable UI: Supports mouse actions and configuration via YAML.
Benefits:
Avoids memorizing complex Docker commands, streamlining your workflows.
Useful for local development, microservices, debugging, and remote environments without a graphical interface.
Lightweight, fast, and efficient compared to heavy GUIs.
Installation
Homebrew:
brew install lazydocker
Scoop (Windows):
scoop install lazydocker
Install via Go:
go install github.com/jesseduffield/lazydocker@latest
Docker (as a container): Use docker run mounting /var/run/docker.sock.
Usage
After installation, simply run:
lazydocker
Within the UI, you can navigate through the sections:
tab or arrow keys to navigate between panels
enter to focus
q to quit
Use ⬅/➡ or other shortcuts listed in the documentation for specific actions.