Lazydocker Keyboard Shortcuts

Complete Lazydocker keyboard shortcuts reference — 16 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.

lazydocker is a terminal UI for Docker and Compose in the style of lazygit: panels for containers, services, images and volumes, and single keys that act on whatever is highlighted. The table lists the panel and container keys; X opens a menu of everything available for the current item, so the table is a starting point rather than a limit.

Panels & Navigation (8)

ShortcutAction
XOpen menu
[Previous tab
]Next tab
EnterFocus main panel
EscBack
PageUpScroll up
PageDownScroll down
QQuit

Containers & Services (8)

ShortcutAction
SStop container
RRestart container
DRemove
AAttach
MView logs
EExec shell
CRun custom command
BBulk commands
📜 Source: lazydocker (GitHub) — Keybindings. Default bindings from the lazydocker repository docs for the current release. Checked 2026-09-06. How we verify ›
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful Lazydocker keyboard shortcuts?

The most essential Lazydocker shortcuts are: X (Open menu), [ (Previous tab), ] (Next tab).

What is the Lazydocker shortcut for open menu?

The Lazydocker shortcut for open menu is X.

What's the fastest way to learn all Lazydocker shortcuts?

Print the Lazydocker cheat sheet and keep it next to your keyboard for the first week, then switch to active recall: open Shortcut Speedrun and practice Lazydocker shortcuts against the clock until they're automatic.

Can I combine Lazydocker shortcuts with other tools?

Yes — use My Stack to combine Lazydocker shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Do Lazydocker shortcuts differ between Windows and Mac?

Most do not — the underlying key is the same, but Lazydocker (like most software) maps Ctrl on Windows/Linux to Cmd on Mac for standard operations. Where a shortcut is platform-specific, this page notes the Mac variant next to the Windows one.

Related Shortcut Pages

Docker Lazygit K9s tmux Kubernetes (kubectl) Bash / Shell

Search 18,500+ shortcuts across 268 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

Moving around

[ and ] switch tabs within a panel (logs, stats, config, top for a container), Enter moves focus into the main panel so its content can be scrolled and Esc steps back. PageUp and PageDown scroll the main panel — long logs live there. Q quits. Tab cycles between the side panels, and the mouse works too.

Acting on containers and services

With a container or Compose service highlighted, S stops it, R restarts it and D removes it (with a prompt), M shows its logs in the main panel and A attaches to its process. E opens a shell inside the container, which is the fastest docker exec -it there is. B opens bulk commands for the whole Compose project — up, down, pull, rebuild — and C runs a custom command from your config against the item.

Configuration

Custom commands and key bindings live in lazydocker's config file (the path is shown in the menu under X), which is how a team adds "tail the app log with jq" as a one-key action. lazydocker reads the Docker socket, so it sees the same containers as the CLI; on remote hosts set DOCKER_HOST before launching.

🤖 Ask AI about Lazydocker shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok