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.
[***]
. Pull the latest release with:
$ docker pull amir20/dozzle:latest
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:ro -p 8888:8080 amir20/dozzle:latest
Dozzle will be available at http://localhost:8888/.
Here is the Docker Compose file:
version: "3" services: dozzle: container_name: dozzle image: amir20/dozzle:latest volumes: - /var/run/docker.sock:/var/run/docker.sock:ro ports: - 8888:8080
For advanced options like authentication, remote hosts or common questions see documentation at dozzle.dev.
Dozzle users automatic API negotiation which works with most Docker configurations. Dozzle also works with Colima and 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:ro -d -p 8888:8080 amir20/dozzle:latest
Dozzle supports file based authentication and forward proxy like Authelia. These are documented at [***]
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.
Dozzle follows the 12-factor model. Configurations can use the CLI flags or environment variables. The table below outlines all supported options and their respective env vars.
| Flag | Env Variable | Default |
|---|---|---|
--addr | DOZZLE_ADDR | :8080 |
--base | DOZZLE_BASE | / |
--hostname | DOZZLE_HOSTNAME | "" |
--level | DOZZLE_LEVEL | info |
--auth-provider | DOZZLE_AUTH_PROVIDER | none |
--auth-header-user | DOZZLE_AUTH_HEADER_USER | Remote-User |
--auth-header-email | DOZZLE_AUTH_HEADER_EMAIL | Remote-Email |
--auth-header-name | DOZZLE_AUTH_HEADER_NAME | Remote-Name |
--enable-actions | DOZZLE_ENABLE_ACTIONS | false |
--wait-for-docker-seconds | DOZZLE_WAIT_FOR_DOCKER_SECONDS | 0 |
--filter | DOZZLE_FILTER | "" |
--no-analytics | DOZZLE_NO_ANALYTICS | false |
--remote-host | DOZZLE_REMOTE_HOST |
There are many ways you can support Dozzle:
MIT
To Build and test locally:
go install github.com/cespare/reflex@latest.pnpm install.pnpm dev来自真实用户的反馈,见证轩辕镜像的优质服务
免费版仅支持 Docker Hub 加速,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
免费版仅支持 docker.io;专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像加速服务
在 Docker Desktop 配置镜像加速
Docker Compose 项目配置加速
Kubernetes 集群配置 Containerd
在宝塔面板一键配置镜像加速
Synology 群晖 NAS 配置加速
飞牛 fnOS 系统配置镜像加速
极空间 NAS 系统配置加速服务
爱快 iKuai 路由系统配置加速
绿联 NAS 系统配置镜像加速
QNAP 威联通 NAS 配置加速
Podman 容器引擎配置加速
HPC 科学计算容器配置加速
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名加速
需要其他帮助?请查看我们的 常见问题 或 官方QQ群: 13763429