gitmyhub

dozzle

Go ★ 13k updated 1d ago

Realtime log viewer for containers. Supports Docker, Swarm and K8s.

A lightweight web UI for watching Docker container logs live in your browser, with search, multi-container split view, and CPU and memory stats, live tailing only, no log storage.

GoDockersetup: easycomplexity 2/5

Dozzle is a small, web-based tool for watching the live output of Docker containers. Docker is a way of running software in isolated boxes called containers, and each container produces a stream of log messages as it runs. Dozzle gives you a browser-based interface where you can watch those messages in real time without having to use command-line tools or dig through files.

The tool is intentionally simple in one specific way: it does not save or index log data. It is only for live viewing. The README notes that if you need to search through historical logs or keep them long-term, other products are better suited for that. Dozzle is the tool you reach for when you want to quickly see what a container is doing right now.

Beyond basic log tailing, Dozzle includes a few practical features. You can search log output using simple text, regular expressions, or SQL queries. You can display multiple containers side by side in a split screen. It also shows live memory and CPU usage for each container. Authentication is supported for teams who need to control access, and it integrates with proxy-based auth tools like Authelia.

For larger setups, Dozzle supports Docker Swarm mode, where you might be running containers spread across multiple machines. It also has an agent mode that lets a single Dozzle instance monitor Docker hosts on separate servers. The tool works with Podman and Colima in addition to standard Docker.

Dozzle is written in Go, weighs about 7 MB as a container image, and is free to use under the MIT license. It collects anonymous usage data via Google Analytics to help the developer understand how the tool is being used, but this can be turned off with a configuration flag. The project is run by a single developer who accepts sponsorship to keep it going.

Where it fits