Reference · Reference
Lazydocker Keybindings & Commands
Search lazydocker keybindings by panel with one-click copy. A complete cheat sheet covering containers, services (Compose), images, volumes, networks, CLI flags, config.yml settings, and custom commands.
Last updated:
Supported version: v0.25.x (latest v0.25.2 / April 2026) | Updated July 2026
How to Use
Expand how to useCollapse how to use
- 1
Filter by category or search
Use the panel category buttons (Containers / Services / Images, etc.) or the search box to find the keybinding you need.
- 2
Check the keybinding
Review the key and its description. Lazydocker assigns different actions to the same key depending on the focused panel, so pay attention to the category.
- 3
Copy commands to use them
Copy CLI flags, install commands, and config.yml examples to your clipboard and paste them straight into your terminal or config file.
Supported Version
This cheat sheet covers lazydocker v0.25.x (latest v0.25.2, released April 19, 2026), including panel keybindings, CLI flags, config.yml settings, and custom commands.
v0.25.2 (April 2026)
- Added support for the
-p/--projectflag to specify a docker compose project name - Hides the project and services panels when the current directory is not part of a docker-compose project
- Fixed the forced project view behavior
v0.25.0 (March 2026)
- Improved docker-compose projects support with better project view handling
Global & Navigation
Project
Containers
Services (Compose)
Images
Volumes
Networks
CLI & Install
-c, --config
Notes
- Boolean flag
- Redirect the output to a file to scaffold config.yml
Examples
lazydocker --configPrint the default config as YAML-d, --debug
Examples
lazydocker --debugLaunch in debug mode-f, --file
Notes
- Pass -f multiple times to combine several Compose files
Examples
lazydocker -f docker-compose.yml -f docker-compose.override.ymlLaunch with multiple Compose files-p, --project
Examples
lazydocker -p myprojectLaunch with a specific project name-h, --help
Examples
lazydocker --helpShow usage and the list of flags--version
Examples
lazydocker --versionShow version informationbrew install jesseduffield/lazydocker/lazydocker
Notes
- Updated faster than Homebrew core's 'brew install lazydocker'
Examples
brew install jesseduffield/lazydocker/lazydockerInstall with the Homebrew tapscoop install lazydocker
Examples
scoop install lazydockerInstall on Windows with Scoopchoco install lazydocker
Examples
choco install lazydockerInstall on Windows with Chocolateycurl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
Examples
curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bashInstall the binary via the scriptgo install github.com/jesseduffield/lazydocker@latest
Examples
go install github.com/jesseduffield/lazydocker@latestInstall from source with Godocker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v /yourpath:/.config/jesseduffield/lazydocker lazyteam/lazydocker
Notes
- Replace /yourpath with a host path where the config is stored
Examples
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v /yourpath:/.config/jesseduffield/lazydocker lazyteam/lazydockerRun lazydocker in a containerConfig & Customization
config.yml
Notes
- macOS: ~/Library/Application Support/jesseduffield/lazydocker/config.yml
- Linux: ~/.config/lazydocker/config.yml
- Windows: C:/Users/<User>/AppData/Roaming/lazydocker/config.yml
Examples
~/.config/lazydocker/config.ymlLinux config file locationgui.scrollHeight
Examples
gui:
scrollHeight: 2Scroll by 2 linesgui.language
Notes
- auto follows your OS language setting
- Japanese (ja) is not supported
Examples
gui:
language: "auto"Follow the OS language settinggui.border
Examples
gui:
border: "rounded"Use rounded bordersgui.theme
Notes
- activeBorderColor / inactiveBorderColor
- selectedLineBgColor / optionsTextColor
Examples
gui:
theme:
activeBorderColor:
- green
- bold
inactiveBorderColor:
- white
selectedLineBgColor:
- blue
optionsTextColor:
- blueSet all four theme colors at oncegui.returnImmediately
Examples
gui:
returnImmediately: falseDefault value examplegui.wrapMainPanel
Examples
gui:
wrapMainPanel: trueWrap text in the main panelgui.sidePanelWidth
Examples
gui:
sidePanelWidth: 0.333Make the side panel about one third of the widthgui.showBottomLine
Examples
gui:
showBottomLine: trueShow the bottom linegui.expandFocusedSidePanel
Examples
gui:
expandFocusedSidePanel: falseDisable the accordion effectgui.screenMode
Examples
gui:
screenMode: "normal"Start in normal screen modegui.containerStatusHealthStyle
Examples
gui:
containerStatusHealthStyle: "long"Show the status as full wordslogs.timestamps
Examples
logs:
timestamps: falseHide log timestampslogs.since
Examples
logs:
since: '60m'Show logs from the last 60 minuteslogs.tail
Examples
logs:
tail: '200'Show the last 200 lines of logsoS.openCommand
Notes
- The yaml tag is uppercase oS
- The filename placeholder expands to the file path
Examples
oS:
openCommand: open {{filename}}Open files with the macOS open commandoS.openLinkCommand
Notes
- The yaml tag is uppercase oS
- The link placeholder expands to the URL
Examples
oS:
openLinkCommand: open {{link}}Open links with the macOS open commandstats.graphs
Examples
stats:
graphs:
- caption: CPU (%)
statPath: DerivedStats.CPUPercentage
color: blue
- caption: Memory (%)
statPath: DerivedStats.MemoryPercentage
color: greenConfigure CPU and memory graphscustomCommands
Notes
- name: the display name shown in the UI
- attach: whether to attach interactively (boolean)
- command: the command to run (Go template)
- serviceNames: restrict to specific services (empty list means no restriction)
Examples
customCommands:
containers:
- name: bash
attach: true
command: 'docker exec -it {{ .Container.ID }} bash'
serviceNames: []A custom command that opens bash in a containerreplacements
Examples
replacements:
imageNamePrefixes:
'123456789012.dkr.ecr.us-east-1.amazonaws.com': '<prod>'
'923456789999.dkr.ecr.us-east-1.amazonaws.com': '<dev>'Replace ECR prefixes with short display namesVersion Info
Compiled from official lazydocker GitHub releases.
- Added support for the
-p/--projectflag to specify a docker compose project name - Hides the project and services panels when the current directory is not part of a docker-compose project
- Fixed the forced project view behavior
- Improved docker-compose projects support with better project view handling
- Fixed a panic in the container summary by validating the Names slice length and falling back to the container ID when it is empty
- Upgraded the build's Go version from 1.21 to 1.23
- Added lazygit-style panel number navigation: jump to a panel by number, shown in the panel titles
- Updated the Docker client to support API version 1.52
About Lazydocker Keybindings & Commands
Lazydocker is a terminal UI (TUI) client for managing Docker and Docker Compose, written in Go by jesseduffield — the same author as lazygit. It lets you inspect containers, services, images, volumes, and networks, view logs, attach to containers, exec a shell, and bring Compose projects up or down, all with keyboard shortcuts instead of typing docker commands. With more than 40,000 GitHub stars it has become a popular tool, but because every panel (Project / Containers / Services / Images / Volumes / Networks) has its own keybindings, it takes time to learn what each key does where. This cheat sheet organizes every keybinding of lazydocker v0.25.x by panel, fully searchable with one-click copy. It covers the basics (d to remove, s to stop, r to restart, m to view logs), operations like E to exec a shell, u/U to bring a service or project up, b for bulk commands, and c for custom commands, plus CLI flags, install commands, and config.yml customization (themes, log settings, stats graphs, and custom commands).
Key Features
- Keybindings organized by panel (Global / Project / Containers / Services / Images / Volumes / Networks)
- Full-text search across keys and descriptions, plus category filters
- CLI flags (-c/--config, -f/--file, -p/--project, etc.) and install commands (Homebrew / Scoop / Chocolatey / Go / Docker)
- config.yml customization examples (themes, logs, stats graphs, custom commands, image name replacements)
- One-click copy for every command and config snippet
- Covers lazydocker v0.25 with a version history section
Use Cases
- You just installed lazydocker and want to learn the basics
- You want to see how keys differ between services (Compose) and containers
- You want to check what each per-panel key means
- You want to copy custom commands or stats graph settings for config.yml
- You manage your lazydocker config in dotfiles and need a reference
Frequently Asked Questions
What is lazydocker?
Lazydocker is a terminal-based client (TUI) for managing Docker and Docker Compose, written in Go by jesseduffield — the same author as lazygit. It lets you inspect containers and services, view logs, and start or stop them using only keyboard shortcuts. It has earned more than 40,000 stars on GitHub.
How do I install lazydocker?
On macOS and Linux run 'brew install jesseduffield/lazydocker/lazydocker' (the Homebrew tap, updated frequently and recommended). On Windows use 'scoop install lazydocker' or 'choco install lazydocker'. You can also install the binary directly with the install script (install_update_linux.sh) on Linux/macOS/Windows, and with Go installed you can run 'go install github.com/jesseduffield/lazydocker@latest'.
Where is the config.yml located?
The location depends on your OS. On macOS it is ~/Library/Application Support/jesseduffield/lazydocker/config.yml, on Linux ~/.config/lazydocker/config.yml, and on Windows C:/Users/[username]/AppData/Roaming/lazydocker/config.yml. The Config & Customization category lists each path with configuration examples.
How are lazygit and lazydocker related?
Both are TUI tools built by the same author, jesseduffield. Lazygit focuses on Git while lazydocker focuses on Docker and Docker Compose. They share the same design — per-panel keybindings and config.yml customization — so if you know one, the other feels familiar.
How do I target a specific docker compose project?
Use the -f / --file flag to specify alternate docker-compose files (it can be passed multiple times), and the -p / --project flag to set the docker compose project name. The CLI & Install category includes copyable launch examples.
How do I write customCommands?
In the customCommands section of config.yml you define your own Docker CLI commands scoped to a category (for example containers). Each entry has name (display name), attach (whether to attach interactively), command (a Go template string), and serviceNames (restrict to specific services). The Config & Customization category includes a copyable example.
Is there a complete lazydocker keybindings cheat sheet?
Yes — this page is a complete lazydocker cheat sheet that lists every keybinding by panel (Global, Project, Containers, Services, Images, Volumes, Networks), along with CLI flags, install commands, and config.yml examples. Use the category filter or full-text search to find any key instantly.
Can I switch panels with number keys?
Yes. Press 1 for the projects panel, 2 for services, 3 for containers, 4 for images, 5 for volumes, and 6 for networks (lazygit-style panel number navigation added in v0.24.2). The numbers are also shown in the panel titles.