
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
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://goreportcard.com/badge/github.com/amir20/dozzle](https://goreportcard.com/report/github.com/amir20/dozzle) !https://github.com/amir20/dozzle/workflows/Test/badge.svg
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.
Dozzle is a small container (4 MB compressed). 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 https://github.com/abiosoft/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 https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.md 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您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务