lazydocker: a Terminal UI for Docker and Docker Compose, Local or over SSH (Linux, Windows, Mac)
Before you start
- 19 min read
Boxes marked Run in terminal are what you type; plain text explains why. Check what you need first

What you get in one minute#
lazydocker is a free terminal program that shows your Docker containers, Compose services, images, volumes and networks on one screen, so you can read logs, restart a service or open a shell with one key instead of typing long Docker commands.

Logo: the image at the top of the official lazydocker README (github.com/jesseduffield/lazydocker). The project has no separate logo file in its repository, so this is the picture the README itself shows as its logo.
It opens no port and has no web page, so there is no extra service to keep safe. You run it in a terminal on the Docker machine, or over SSH. It suits homelab owners who already live in a terminal.
| What | Value (official sources, read 1 December 2026) |
|---|---|
| Current version | v0.25.2, released 19 April 2026 |
| Licence | MIT (LICENSE at the release tag) |
| Time needed | About 15 minutes (our estimate, not measured) |
| RAM | No official figure (see Performance) |
| Ports | None: it is a terminal program |
| Platforms | Linux, Windows, Mac (release files for x86, x86-64, arm64, armv6, armv7) |
| Official docs | README at v0.25.2 and config docs |
At a glance:
- What it is: one program (written in Go) that reads Docker's API and runs
docker composefor you. - Not a web UI: no browser, no login, no port.
- Not a Compose editor: you still write
compose.yamlyourself. - No history: it shows live state and recent logs, not charts over days.
- Not a Docker replacement: Docker must already run.
Which version. We pin v0.25.2. The project is maintained but slow: releases came in November 2025, December 2025, January 2026, March 2026 and April 2026, and nothing since. The last commit on the main branch (15 November 2026) only removed a sponsor banner from the README. The author wrote in 2023 that his other project, lazygit, takes most of his free time. Docker 29 needs lazydocker 0.24.2 or newer (see Common mistakes). About 314 issues are open, and we list the important ones under Troubleshooting.
How it fits together#
You type in a terminal; lazydocker asks the Docker API socket for the state of everything, and calls docker compose when you start, stop or read the logs of a stack.
Drawn for this guide from the source code at v0.25.2. The dashed route is optional.
With DOCKER_HOST=ssh://<server> lazydocker starts an ssh tunnel to the remote socket. We show why running lazydocker on the server itself is safer (Step 5).
Before you start#
You need a machine with Docker running, a terminal and, for the remote step, an SSH key.
| System | What to have |
|---|---|
| Linux | Docker Engine, your user allowed to use Docker, curl and tar |
| Windows | Windows 10 or later, Docker Desktop (WSL 2 backend), PowerShell, Scoop or winget |
| Mac | Docker Desktop, Terminal, Homebrew |
The README lists Docker 29.0.0 or newer and Docker Compose 1.23.2 or newer (optional). Check yours:
docker --version docker compose version docker context show
Checklist:
- [ ]
docker versionprints a Client and a Server section - [ ] You know your CPU type (
uname -mon Linux and Mac; Windows: x86-64 or arm64) - [ ] You have a terminal at least about 100 columns wide
- [ ] For Step 5 only: key-based SSH login to your server
Tested by DIY Lab Hub: not yet on a Linux, Windows or Mac machine. Commands come from the official repo at v0.25.2 and the issue tracker, read on 2026-12-01. One part we did run on 2026-12-01: the download and checksum check of the Linux tarball (Step 2).
Step 1: Check that Docker works for your user#
lazydocker only talks to a Docker that is already running. If docker ps fails, lazydocker fails the same way.
Linux#
docker version docker ps
If your user may not use the Docker socket, lazydocker prints:
Can't access docker socket at: unix:///var/run/docker.sock Run lazydocker as root or read https://docs.docker.com/install/linux/linux-postinstall/
The fix is Docker's own post-install steps, not a lazydocker setting (issue 481).
Windows (PowerShell)#
Start Docker Desktop and wait until it says it is running. Then:
docker version docker ps
Mac (Terminal)#
Start Docker Desktop first, then:
docker version docker ps
Check it worked. docker version prints both Client and Server sections and docker ps prints a table header, even with no containers.
Tip: On a Mac, if only lazydocker says
Cannot connect to the Docker daemon at unix:///var/run/docker.sock, Docker Desktop may keep its socket in your home folder (issues 452 and 478). Start it withDOCKER_HOST=unix://$HOME/.docker/run/docker.sock lazydocker.
Step 2: Install lazydocker#
We install the pinned v0.25.2 release. Replace <arch> with the name that fits your CPU. Check uname -m: x86_64 stays x86_64, aarch64 (Mac: arm64) becomes arm64, armv7l becomes armv7, armv6l becomes armv6, i686 becomes x86. Guessing amd64 gives a 404.
Linux#
cd /tmp B=https://github.com/jesseduffield/lazydocker/releases/download/v0.25.2 curl -fLO $B/lazydocker_0.25.2_Linux_<arch>.tar.gz curl -fLO $B/checksums.txt grep "lazydocker_0.25.2_Linux_<arch>.tar.gz" checksums.txt | sha256sum -c tar xzf lazydocker_0.25.2_Linux_<arch>.tar.gz lazydocker install -Dm 755 lazydocker -t ~/.local/bin export PATH="$HOME/.local/bin:$PATH"
Add the export PATH line to ~/.bashrc (or ~/.zshrc) so it stays. Other ways, all from the official docs:
- Homebrew:
brew install lazydocker(core formula, version 0.25.2). - Arch Linux:
sudo pacman -S lazydocker(officialextrarepository, 0.25.2). The README still says AUR. - The official script:
curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bashinstalls the latest release into$HOME/.local/bin(change the folder withDIR=<path>). It is not pinned, so we download it first and read it. - We found no official apt or snap package.
Windows (PowerShell)#
scoop install lazydocker
or
winget install JesseDuffield.Lazydocker
On 2026-12-01 Scoop's manifest and the winget package were both at 0.25.2. Do not use choco install lazydocker: the Chocolatey package is stuck at 0.23.3 from May 2024. You can also unzip lazydocker_0.25.2_Windows_x86_64.zip from the release page and put lazydocker.exe on your PATH. If you run Docker inside a WSL 2 distribution, use the Linux steps there (we did not run that).
Mac (Terminal)#
brew install lazydocker
Without Homebrew, use the Linux download steps with Darwin_<arch> in the file name, check it with grep "lazydocker_0.25.2_Darwin_<arch>.tar.gz" checksums.txt | shasum -a 256 -c, then install it with the Mac-safe line mkdir -p ~/.local/bin && install -m 755 lazydocker ~/.local/bin/lazydocker (the -D and -t options of the Linux line are GNU-only). Add ~/.local/bin to your PATH in ~/.zshrc.
Check it worked. On every system:
lazydocker --version
It prints the version, build date, build source, commit, OS and architecture. We ran the download part on Linux x86-64 on 2026-12-01, from a Windows PC with Git Bash:
lazydocker_0.25.2_Linux_x86_64.tar.gz: OK
The archive holds lazydocker, LICENSE and README.md.
Tip: The README's
alias lzd='lazydocker'saves typing. Put it in your shell profile.
Step 3: Start a sample project to look at#
We use a small project of our own, so you can play without touching real stacks. stdin_open and tty make the attach key work later. The port is bound to 127.0.0.1, so only this machine reaches it.
Linux#
mkdir -p ~/docker_volumes/lazydocker-demo
cd ~/docker_volumes/lazydocker-demo
cat > compose.yaml << 'EOF'
services:
web:
image: nginx:1.28-alpine
restart: unless-stopped
ports:
- "127.0.0.1:8080:80"
stdin_open: true
tty: true
whoami:
image: traefik/whoami:v1.11.0
restart: unless-stopped
EOF
docker compose up -d
docker compose ps
Windows (PowerShell)#
New-Item -ItemType Directory -Force "$HOME\docker_volumes\lazydocker-demo" | Out-Null
Set-Location "$HOME\docker_volumes\lazydocker-demo"
@'
services:
web:
image: nginx:1.28-alpine
restart: unless-stopped
ports:
- "127.0.0.1:8080:80"
stdin_open: true
tty: true
whoami:
image: traefik/whoami:v1.11.0
restart: unless-stopped
'@ | Set-Content -Encoding ascii compose.yaml
docker compose up -d
docker compose ps
Mac (Terminal)#
Same commands as Linux.
Check it worked. docker compose ps lists web and whoami as running, and curl -I http://127.0.0.1:8080 (Windows: curl.exe -I ...) answers. Both image tags exist on Docker Hub (checked 2026-12-01).
The tour: what to press first#
The screen and keys are the same on all three systems. Go to the demo folder (Windows: $HOME\docker_volumes\lazydocker-demo) and start it:
cd ~/docker_volumes/lazydocker-demo lazydocker
On the left are six numbered panels: 1 Projects, 2 Services, 3 Containers, 4 Images, 5 Volumes, 6 Networks. The right side is the main panel for what you selected. [ and ] switch its tabs, enter focuses it, esc returns. Press a number to jump to a panel (added in v0.24.2).
Since v0.25.2, Projects and Services only appear when you start lazydocker in a folder with a Compose file (issue 800 asks for the old behaviour). Elsewhere, point it at a project with -f <compose file> or -p <project name>.
| Key | Where | What it does |
|---|---|---|
1 to 6 | Everywhere | Jump to a panel |
m | Containers, Services | View logs |
r | Containers, Services | Restart |
E | Containers, Services | Exec a shell inside |
a | Containers, Services | Attach to the running process |
s / p | Containers, Services | Stop / pause |
e | Containers | Hide or show stopped containers |
/ | Lists | Filter the list |
+ / _ | Everywhere | Next or previous screen mode (normal, half, fullscreen) |
d | Lists | Remove (a menu: remove, force remove, remove with volumes) |
b | Lists | Bulk commands, including the four prune commands |
U / D | Services | Up or down the whole project |
w | Containers, Services | Open the first port in your browser |
Try this: select web, press m to read its logs, press r to restart it, then E for a shell. m shows the logs full screen; a user in issue 218 describes the interface disappearing and coming back with Ctrl+C (we did not verify that in v0.25.2). a attaches to a container. You cannot attach to a stopped container, and one started without stdin_open: true and tty: true refuses with:
Container does not support attaching. You must either run the service with the '-it' flag or use `stdin_open: true, tty: true` in the docker-compose.yml file
How to detach again is a Docker topic and we did not verify it for lazydocker.
Tip:
bopens bulk commands, and each prune asks to confirm, for example "Are you sure you want to prune all unused volumes?". A confirmation does not tell you what is in those volumes: unused volumes are often the databases of stopped stacks, and deleting them cannot be undone. The same goes for "remove with volumes" in thedmenu.Dis not a pause: it runsdocker compose downand removes the project's containers and networks.
Tip: lazydocker controls stacks you already have. Create and edit them with
docker composeand your editor.
Step 4: Change the settings#
Open the config from inside lazydocker: select the Project panel (1) and press o (or e for vim). Changes apply after a restart. lazydocker --config prints the defaults.
Linux#
The file is ~/.config/lazydocker/config.yml.
Windows (PowerShell)#
The docs name AppData\Roaming\lazydocker\config.yml in your user folder, that is:
"$env:APPDATA\lazydocker\config.yml"
Mac (Terminal)#
The file is ~/Library/Application Support/jesseduffield/lazydocker/config.yml.
In the source, an existing folder named after the vendor jesseduffield wins over the newer one, and the environment variable CONFIG_DIR overrides the folder. A starter file, the same on all systems:
logs:
since: ''
tail: '200'
customCommands:
containers:
- name: bash
attach: true
command: 'docker exec -it {{ .Container.ID }} bash'
serviceNames: []
By default logs cover only the last hour (logs.since: '60m'). The file above shows all logs, limited to the last 200 lines. The custom command comes from the official docs: press c on a container to run it.
Check it worked. Restart lazydocker, select a container and press c: the bash command is in the menu.
Tip: The README names the setting
gui.ignoreMouseEvents, but the source at v0.25.2 reads the keymouseEvents. We did not run it, so test before you rely on either. To select text with the mouse on, the README says to hold Option (Mac); other terminals often use Shift.
Step 5: Use it on a remote server#
The safest way is to log in to the server and run lazydocker there.
Linux#
ssh <user>@<server> lazydocker
A second way runs lazydocker on your PC against the server's Docker (<server> can be a Host name from your ~/.ssh/config):
DOCKER_HOST=ssh://<server> lazydocker
The source (pkg/commands/ssh/ssh.go) runs ssh -L <local-socket>:/var/run/docker.sock <host> -N. So it needs ssh on your PATH, key-based login, the remote socket at exactly /var/run/docker.sock (rootless Docker will not work) and a /tmp folder. By our reading of the source (we did not test it) it passes only the host name from the URL, so user@ and :2222 are dropped. Put User, Port and IdentityFile in ~/.ssh/config. We did not run this.
Windows (PowerShell)#
If your Windows has the OpenSSH client, log in and run lazydocker on the server:
ssh <user>@<server> lazydocker
The tunnel route fails on Windows because the code looks for /tmp (issue 770, open):
tunnel ssh docker host: create ssh tunnel tmp file: GetFileAttributesEx /tmp: The system cannot find the file specified.
Mac (Terminal)#
Same commands as Linux.
Check it worked. Your server's containers appear in panel 3.
Tip: Docker contexts and TLS (
tcp://host:2376) have open bugs too (issues 815 and 603). Never open Docker's plain TCP port 2375.
Step 6 (optional): Run lazydocker itself in a container#
The README's image lazyteam/lazydocker on Docker Hub was last pushed on 2022-05-10 and crashes on current Docker, so build it from the v0.25.2 tag. The old image stops with client version 1.25 is too old (issues 715, 767, 846). We recommend the plain binary instead. Three limits apply: the image is built FROM scratch with Docker CLI v27.0.3 and no docker compose plugin, the README calls missing logs and CPU graphs inside a container a known bug, and mounting the socket gives the container root-equivalent control on a standard Docker setup. We did not run this step.
Linux#
docker build -t lazydocker:0.25.2 --build-arg VERSION=v0.25.2 "https://github.com/jesseduffield/lazydocker.git#v0.25.2" mkdir -p ~/docker_volumes/lazydocker/config docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ~/docker_volumes/lazydocker/config:/.config/jesseduffield/lazydocker \ lazydocker:0.25.2
Windows (PowerShell)#
docker build -t lazydocker:0.25.2 --build-arg VERSION=v0.25.2 "https://github.com/jesseduffield/lazydocker.git#v0.25.2" New-Item -ItemType Directory -Force "$HOME\docker_volumes\lazydocker\config" | Out-Null docker run --rm -it ` -v /var/run/docker.sock:/var/run/docker.sock ` -v "$HOME\docker_volumes\lazydocker\config:/.config/jesseduffield/lazydocker" ` lazydocker:0.25.2
We did not verify the socket mount on Docker Desktop for Windows.
Mac (Terminal)#
Same commands as Linux. We did not verify the socket mount on Docker Desktop for Mac either.
Check it worked. The screen opens and lists your containers, without the API-version error.
Put it behind HTTPS with Traefik? You do not need to#
lazydocker is a terminal program. It opens no port and serves no page, so there is nothing to put behind Traefik or Caddy, on a server with a domain or at home.
With Traefik#
No labels or routes are needed. For container logs in a browser use our Dozzle guide, which has its own HTTPS section.
Without Traefik: Caddy#
No reverse_proxy line is needed for the same reason. If you want a browser interface for Docker, our Dockge, Komodo and Portainer guides cover HTTPS.
Security and testing#
lazydocker has no login, so your security is whoever can use the Docker socket: that access is root-equivalent on the host.
| Control | How |
|---|---|
| No port, no login | Nothing listens on the network |
| Docker access | Only put users you trust in the docker group |
| Shared hosts | Do not run it where untrusted users share Docker: issue 828 (open) reports a label value put unescaped into the docker compose command line |
| Remote access | SSH keys, run it on the server; never expose Docker's TCP port 2375 |
| Container route | Never mount the socket into a container you do not trust |
| Downloads | Pin the version, check checksums.txt, read the install script first |
Quick tests: lazydocker --version, then in the demo folder docker compose ps, then open lazydocker, check that panel 3 lists your containers, that m shows logs and that r restarts one.
lazydocker, Dockge, Dozzle, Komodo or Portainer?#
| lazydocker | Dockge | Dozzle | Komodo | Portainer | |
|---|---|---|---|---|---|
| You work with | Terminal | Browser | Browser | Browser | Browser |
| Good at | Quick control over SSH | Compose stacks | Live logs | Servers and stacks | Full management |
| Needs a port and login | Neither | Yes | Yes | Yes | Yes |
| Our guide | This page | Dockge | Dozzle | Komodo | Portainer |
Pick lazydocker when you already work in a terminal or over SSH.
Common mistakes#
| Mistake | Why it happens | Do this instead |
|---|---|---|
Using the Docker Hub image lazyteam/lazydocker | Last pushed 2022-05-10; it dies with client version 1.25 is too old (715, 767) | Use the binary, or build the image from the tag (Step 6) |
| An old lazydocker on Docker 29 | Docker 29 raised the minimum client API to 1.44 (issue 698) | Use 0.24.2 or newer. The systemd DOCKER_MIN_API_VERSION=1.24 override from that issue is only a stop-gap |
choco install lazydocker | The package is stuck at 0.23.3 (2024-05-26) | Use Scoop, winget or the zip |
| Starting it before Docker Desktop on Windows | The named pipe does not exist yet (issue 436) | Start Docker Desktop and wait |
sudo lazydocker after "Can't access docker socket" | The user is not allowed to use Docker (issue 481) | Do Docker's Linux post-install steps |
| Wondering where Projects and Services went | v0.25.2 hides them outside a Compose folder | cd into the project, or use -f or -p |
DOCKER_HOST=ssh://user@host:2222 | By our reading, user and port are dropped; the remote socket must be /var/run/docker.sock | Use ~/.ssh/config, or run it on the server |
| Choosing "remove with volumes" or prune volumes | It deletes data you wanted | Read each confirmation; back up first |
| Thinking old logs vanished | Only the last 60 minutes are shown by default | Set logs.since: '' |
| Leaving it open all day on a laptop with many containers | One report shows heavy idle load (issue 860) | Close it when idle |
AI assistants: apt install lazydocker, snap install lazydocker, docker-compose v1, the Linux path ~/.config/jesseduffield/lazydocker, gui.ignoreMouseEvents, lazyteam/lazydocker:latest | Old guides and mixed-up training data | We found no apt or snap package; use the tarball, Homebrew, Scoop, winget or pacman; the default command is docker compose since v0.24.0; the Linux file is ~/.config/lazydocker/config.yml |
| AI assistants: "open lazydocker in your browser, or put it behind Traefik" | They mix it up with Portainer or Dockge | It is a terminal program with no port |
Tip: Keep each project in its own folder under
~/docker_volumes/. Starting lazydocker inside it always shows Projects and Services.
Tip: Stuck on a key? The list is in
Keybindings_en.md. Do not guess.
Tip:
go installneeds a current Go. Thego.modat v0.25.2 says Go 1.22 with toolchain 1.23.6, although the README says 1.19. Go 1.13 fails withunknown directive: toolchain(issue 817).
Troubleshooting#
| Problem | Solution |
|---|---|
| Is Docker itself fine? | docker version and docker ps -a |
| Which Docker is it talking to? | docker context show, and check DOCKER_HOST and DOCKER_CONTEXT |
| Which version? | lazydocker --version (0.24.2 or newer for Docker 29) |
| What are the defaults? | lazydocker --config |
| Need debug output | lazydocker --debug |
| Compose project not found | docker compose config --quiet in the folder, then start it from there |
| Logs tab empty in the container route | Press m, or use the binary (issue 218, open since 2020) |
| Unusual runtime, such as Podman | Not official; issues 348 and 556 are open and we did not verify it |
Can't access docker socket at: unix:///var/run/docker.sock#
Your user may not use the socket. Do Docker's post-install steps (Step 1).
client version 1.25 is too old. Minimum supported API version is 1.44#
The full text is Error response from daemon: client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version. An old lazydocker or the old Docker Hub image meets Docker 29. Update to 0.24.2 or newer.
error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.#
It ends with open //./pipe/docker_engine: The system cannot find the file specified. Docker Desktop is not running. Start it.
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?#
On a Mac with Docker Desktop, set DOCKER_HOST=unix://$HOME/.docker/run/docker.sock (Step 1).
connection to docker client failed. You may need to restart the docker client#
lazydocker's own message when the connection drops. Check docker version, restart Docker, start again.
bash: line 1: docker-compose: command not found#
A report with remote hosts since 0.25.0 (issue 793, open): the Projects Logs tab calls the old command. The reporter went back to 0.24.4; running lazydocker on the server is the other way out.
Known bugs (open, December 2026)#
- Issue 860: heavy idle load with 55 containers on Colima.
- Issue 815: an SSH context ends with
Docker event stream returned error: ... EOF. - Issue 603: TLS contexts fail with
Client sent an HTTP request to an HTTPS; the issue suggestssocatto a local socket. - Issue 770: SSH tunnel on Windows.
- Issue 828: unescaped label values on shared hosts.
Updates and backups#
lazydocker has no auto-update. Repeat your install with the new version number, after reading the release notes. Keep the old tarball so you can go back.
brew upgrade lazydocker
On Windows use scoop update lazydocker or winget upgrade JesseDuffield.Lazydocker. The official Linux script always installs the latest release.
lazydocker holds no data of its own except config.yml. Your container data is not in it: see our Docker volume backup guide. Back up the config with a date (Linux path; on a Mac use the path from Step 4):
mkdir -p ~/docker_volumes/lazydocker/backups cp ~/.config/lazydocker/config.yml ~/docker_volumes/lazydocker/backups/config-$(date +%F).yml
On Windows:
New-Item -ItemType Directory -Force "$HOME\docker_volumes\lazydocker\backups" | Out-Null Copy-Item "$env:APPDATA\lazydocker\config.yml" "$HOME\docker_volumes\lazydocker\backups\config-$(Get-Date -Format yyyy-MM-dd).yml"
To run it daily at 03:00, put the cp line in a cron job (0 3 * * *) on Linux or Mac, or make a Task Scheduler task for the Copy-Item line on Windows. Restore test: copy a backup back over config.yml, start lazydocker and press c on a container to see your custom command.
Performance and resources#
There is no official RAM or CPU figure, and we did not measure one. The only data point is issue 860 (open, 26 November 2026): one user with 55 containers on Colima and macOS counted about 190 inspect requests per second while lazydocker sat idle, with dockerd at 100 to 134 percent CPU; quitting lazydocker stopped it. That is one report, not our measurement. To keep the load down, hide stopped containers with e, set logs.tail, and close it when idle. Compare with docker stats.
FAQ#
Is lazydocker still maintained? Yes, but slowly: the last release is v0.25.2 (19 April 2026) and the last commit (15 November 2026) only touched the README.
Does it replace Docker Compose? No. It runs docker compose for you. You still write the Compose file.
Does it work with Podman? It is not an official target. Two open issues (348, 556) show problems, and we did not verify it.
Can I use it with Docker Desktop on Windows? It is meant to, as long as Docker Desktop runs first. We did not run it. For a remote server, log in with SSH instead of using the tunnel.
Why can't I see old logs? Only the last 60 minutes are shown by default. Set logs.since: ''.
Is it safe to leave open on a server? It opens no port, but whoever uses your session controls Docker. Close it when you are done and never use it on a shared Docker host.
Sources#
- lazydocker repository and release v0.25.2
- At the tag: README, Config.md, Keybindings_en.md, install_update_linux.sh, ssh.go
- Packages: Homebrew, Scoop, winget, Chocolatey, Arch
- Docker Linux post-install steps
- Issues read: 698, 715, 767, 770, 793, 800, 815, 828, 860, 481, 436, 452
Checked against the official docs on 2026-12-01. Only the Linux tarball download and checksum check were run by DIY Lab Hub; everything else comes from the docs, source code and issues.