amir20

    amir20/dozzle

    #261 this week

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

    devops
    kubernetes
    observability
    messaging
    frontend
    docker
    docker-container
    golang
    k8s
    log
    Go
    MIT
    14.4K stars
    617 forks
    14.4K GitHub watchers
    Updated 9/15/2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Use Cases & Benefits

    • Provides a lightweight web interface for real-time monitoring of container logs across Docker, Swarm, and Kubernetes environments.
    • Offers live log viewing with minimal memory usage and supports advanced search including regex and SQL queries without storing logs.
    • Use for monitoring live logs of Docker containers during development to quickly identify runtime issues.
    • Use for centralized log viewing in Docker Swarm clusters to track container behavior across multiple nodes.
    • Use for aggregating logs from multiple Docker hosts in agent mode to manage distributed container environments.

    About dozzle

    Dozzle Logo

    Dozzle - dozzle.dev

    Dozzle is a small lightweight application with a web based interface to monitor Docker logs. It doesn’t store any log files. It is for live monitoring of your container logs only.

    https://github.com/user-attachments/assets/66a7b4b2-d6c9-4fca-ab04-aef6cd7c0c31

    Docker Image Size (latest by date) Docker Pulls Docker Version Test

    [!NOTE] If you like Dozzle, check out dtop which is a top like application for monitoring Docker containers. It integrates with Dozzle to allow for linking directly to container logs.

    Features

    • Intelligent fuzzy search for container names 🤖
    • Search logs using regex 🔦
    • Search logs using SQL queries 📊
    • Small memory footprint 🏎
    • Split screen for viewing multiple logs
    • Live stats with memory and CPU usage
    • Multi-user authentication with support for proxy forward authorization 🚨
    • Swarm mode support 🐳
    • Agent mode for monitoring multiple Docker hosts 🕵️‍♂️
    • Dark mode 🌙

    Dozzle has been tested with hundreds of containers. However, it doesn't support offline searching. Products like Loggly, Papertrail or Kibana are more suited for full search capabilities.

    Getting Started

    Dozzle is a small container (7 MB compressed). Pull the latest release with:

    $ docker pull amir20/dozzle:latest
    

    Running Dozzle

    The simplest way to use dozzle is to run the docker container. Also, mount the Docker Unix socket with --volume to /var/run/docker.sock:

    $ docker run --name dozzle -d --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir20/dozzle:latest
    

    Dozzle will be available at http://localhost:8080/.

    Here is the Docker Compose file:

    services:
      dozzle:
        container_name: dozzle
        image: amir20/dozzle:latest
        volumes:
          - /var/run/docker.sock:/var/run/docker.sock
        ports:
          - 8080:8080
    

    For advanced options like authentication, remote hosts or common questions see documentation at dozzle.dev.

    Swarm Mode

    Dozzle works with Docker Swarm mode. You can run Dozzle as a global service with:

    $ docker service create --name dozzle --env DOZZLE_MODE=swarm --mode global --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock -p 8080:8080 amir20/dozzle:latest
    

    See the Swarm Mode documentation for more details.

    Agent Mode

    Dozzle can be used to monitor multiple Docker hosts. You can run Dozzle in agent mode with:

    $ docker run -v /var/run/docker.sock:/var/run/docker.sock -p 7007:7007 amir20/dozzle:latest agent
    

    See the Agent Mode documentation for more details.

    Technical Details

    Dozzle users automatic API negotiation which works with most Docker configurations. Dozzle also works with Colima and Podman.

    Installation on podman

    By default Podman doesn't have a background process but you can enable this for Dozzle to work.

    Verify first if your podman installation has enabled remote socket:

    podman info
    

    When you get under the key remote socket output like this, its already enabled:

      remoteSocket:
        exists: true
        path: /run/user/1000/podman/podman.sock
    

    If it's not enabled please follow this tutorial to enable it.

    Once you have the podman remote socket you can run Dozzle on podman.

    podman run --volume=/run/user/1000/podman/podman.sock:/var/run/docker.sock -d -p 8080:8080 docker.io/amir20/dozzle:latest
    

    Additionally you have to create a fake engine-id to prevent host not found errors. Podman doesn't generate an engine-id like Docker by itself due to its daemonless architecture.

    Under /var/lib/docker create a file named engine-id. On a system with Podman you will have to create the folder path as well. Inside the file place the UUID, for instance using uuidgen > engine-id. After that the file should have an identifier that looks like this: b9f1d7fc-b459-4b6e-9f7a-e3d1cd2e14a9.

    For more details check Podman Infos or the FAQ

    Security

    Dozzle supports file based authentication and forward proxy like Authelia. These are documented at https://dozzle.dev/guide/authentication.

    Analytics collected

    Dozzle collects anonymous user configurations using Google Analytics. Why? Dozzle is an open source project with no funding. As a result, there is no time to do user studies of Dozzle. Analytics is collected to prioritize features and fixes based on how people use Dozzle. This data is completely public and can be viewed live using Data Studio dashboard.

    If you do not want to be tracked at all, see the --no-analytics flag below.

    Environment variables and configuration

    Dozzle follows the 12-factor model. Configurations can use the CLI flags or environment variables. See documentation at https://dozzle.dev/guide/supported-env-vars for more details.

    Support

    There are many ways you can support Dozzle:

    • Use it! Write about it! Star it! If you love Dozzle, drop me a line and tell me what you love.
    • Blog about Dozzle to spread the word. If you are good at writing send PRs to improve the documentation at dozzle.dev
    • Sponsor my work at https://www.buymeacoffee.com/amirraminfar

    Buy Me A Coffee

    License

    MIT

    Building

    To build and test locally:

    1. Install NodeJs and pnpm.
    2. Install Go.
    3. Install tools with make tools.
    4. Install node modules pnpm install.
    5. Run make dev to start a development server with hot reload.

    Discover Repositories

    Search across tracked repositories by name or description