# lazydocker

> Terminal UI for Docker and Docker Compose management with container logs, stats, and interactive controls

Stars: 53.2k · Language: Go · License: MIT · Categories: Dev Tools

- Repository: https://github.com/jesseduffield/lazydocker
- Page: https://www.trmn.sh/tools/lazydocker

## Install

- Homebrew: `brew install lazydocker`

## Overview

lazydocker is a terminal user interface for managing Docker containers and Docker Compose services. Built in Go using the gocui library, it provides a visual interface for viewing container status, logs, and statistics without requiring complex command-line arguments.

The tool displays containers, images, volumes, and networks in separate panes with real-time updates. Users can start, stop, and remove containers, view streaming logs, monitor resource usage, and execute commands inside containers through the TUI. It supports both individual Docker containers and Docker Compose stacks.

Developers working with containerized applications can use lazydocker to streamline common Docker operations. The interface eliminates the need to remember lengthy docker commands and provides a consolidated view of the Docker environment, making it particularly useful for development workflows involving multiple containers or services.

### Installation

```bash
# via Homebrew
brew install lazydocker
```

![lazydocker terminal interface demo](https://media.trmn.sh/cached/cdee46775cbcc66573a694c2b6dd2ee47dedfec1e131c9e259e44c795ae46a93.gif)

## Alternatives

- [dive](https://www.trmn.sh/tools/dive.md): Docker image layer analysis tool for exploring contents and optimizing image size (Go, 54.7k stars)
- [Terraform](https://www.trmn.sh/tools/terraform.md): Infrastructure-as-code CLI that builds, changes, and versions infrastructure from declarative configuration files, using execution plans and a resource graph. (Go, 50.3k stars)
- [mkcert](https://www.trmn.sh/tools/mkcert.md): Generate locally-trusted development certificates with automatic CA management for HTTPS testing (Go, 59.8k stars)
- [trivy](https://www.trmn.sh/tools/trivy.md): Security scanner that detects vulnerabilities, secrets, and misconfigurations in containers, filesystems, git repos, VMs, and Kubernetes (Go, 38.9k stars)
- [k9s](https://www.trmn.sh/tools/k9s.md): Terminal UI for managing and observing Kubernetes clusters with real-time monitoring and resource navigation (Go, 34.9k stars)

## Guides

- [Best Docker TUIs](https://www.trmn.sh/best/docker-tuis): Compare lazydocker, ducker, dtop, dive and ctop: Docker TUIs for containers, Compose, logs, stats and image layer analysis.

---

Canonical: https://www.trmn.sh/tools/lazydocker
