
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
维护者:
Debian 开发者 https://qa.debian.org/developer.php?login=tianon 和 https://qa.debian.org/developer.php?login=paultag
获取帮助:
https://dockr.ly/comm-slack%E3%80%81Server Fault、https://unix.stackexchange.com/help/on-topic 或 https://stackoverflow.com/help/on-topic
提交 issue:
https://github.com/debuerreotype/docker-debian-artifacts/issues?q=
支持的架构:(https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/debian/%E3%80%81https://hub.docker.com/r/arm32v5/debian/%E3%80%81https://hub.docker.com/r/arm32v7/debian/%E3%80%81https://hub.docker.com/r/arm64v8/debian/%E3%80%81https://hub.docker.com/r/i386/debian/%E3%80%81https://hub.docker.com/r/mips64le/debian/%E3%80%81https://hub.docker.com/r/ppc64le/debian/%E3%80%81https://hub.docker.com/r/riscv64/debian/%E3%80%81https://hub.docker.com/r/s390x/debian/
镜像元数据:
https://github.com/docker-library/repo-info/blob/master/repos/debian%EF%BC%88https://github.com/docker-library/repo-info/commits/master/repos/debian%EF%BC%89
(包含镜像元数据、传输大小等)
镜像更新:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fdebian
https://github.com/docker-library/official-images/blob/master/library/debian%EF%BC%88https://github.com/docker-library/official-images/commits/master/library/debian%EF%BC%89
文档来源:
https://github.com/docker-library/docs/tree/master/debian%EF%BC%88https://github.com/docker-library/docs/commits/master/debian%EF%BC%89
| 标签 | Dockerfile 链接 |
|---|---|
bookworm, bookworm-20250929, 12.12, 12 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/bookworm/oci/index.json |
bookworm-backports | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/bookworm/backports/Dockerfile |
bookworm-slim, bookworm-20250929-slim, 12.12-slim, 12-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/bookworm/slim/oci/index.json |
bullseye, bullseye-20250929, 11.11, 11 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/bullseye/oci/index.json |
bullseye-slim, bullseye-20250929-slim, 11.11-slim, 11-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/bullseye/slim/oci/index.json |
experimental, experimental-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/experimental/Dockerfile |
forky, forky-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/forky/oci/index.json |
forky-backports | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/forky/backports/Dockerfile |
forky-slim, forky-20250929-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/forky/slim/oci/index.json |
oldoldstable, oldoldstable-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/oldoldstable/oci/index.json |
oldoldstable-slim, oldoldstable-20250929-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/oldoldstable/slim/oci/index.json |
oldstable, oldstable-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/oldstable/oci/index.json |
oldstable-backports | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/oldstable/backports/Dockerfile |
oldstable-slim, oldstable-20250929-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/oldstable/slim/oci/index.json |
rc-buggy, rc-buggy-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/rc-buggy/Dockerfile |
sid, sid-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/sid/oci/index.json |
sid-slim, sid-20250929-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/sid/slim/oci/index.json |
stable, stable-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/stable/oci/index.json |
stable-backports | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/stable/backports/Dockerfile |
stable-slim, stable-20250929-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/stable/slim/oci/index.json |
testing, testing-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/testing/oci/index.json |
testing-backports | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/testing/backports/Dockerfile |
testing-slim, testing-20250929-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/testing/slim/oci/index.json |
trixie, trixie-20250929, 13.1, 13, latest | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/trixie/oci/index.json |
trixie-backports | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/trixie/backports/Dockerfile |
trixie-slim, trixie-20250929-slim, 13.1-slim, 13-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/trixie/slim/oci/index.json |
unstable, unstable-20250929 | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/unstable/oci/index.json |
unstable-slim, unstable-20250929-slim | https://github.com/debuerreotype/docker-debian-artifacts/blob/f79b97e304b3069b812f310bbf03562eac1a132e/unstable/slim/oci/index.json |
Debian 是一款主要由自由开源软件组成的操作系统,遵循 GNU 通用公共许可证,由 Debian 项目社区开发维护。作为最流行的 Linux 发行版之一,Debian 广泛用于个人计算机和网络服务器,并作为众多其他 Linux 发行版的基础。
本镜像为 amd64 架构的 Debian 官方镜像,旨在提供最小化、可靠的基础环境,适用于构建容器化应用、开发环境或作为其他应用镜像的基础层。
基于 Debian 的 minbase 变体构建(仅包含“必需”软件包),确保最小化镜像体积,同时保留 Debian 系统的核心功能。
bookworm(12.x)、bullseye(11.x),提供长期支持和稳定性。stable、testing、unstable,使用滚动套件名称(如 deb http://deb.debian.org/debian testing main)。默认使用 https://deb.debian.org CDN 镜像源,确保全球用户的访问可靠性(自 2016-10-20 起成为 debootstrap 的默认镜像源)。
通过工具 https://github.com/debuerreotype/debuerreotype 构建,确保镜像透明可重现,支持基于相同工具链重新生成一致的 rootfs tarball。
除 amd64 外,还支持 arm32v5、arm64v8、i386、ppc64le 等多种架构(详见“快速参考”部分)。
作为容器化应用的基础层,提供稳定的 Debian 运行环境,适用于 Python、Node.js、Java 等各类应用。
快速搭建隔离的 Debian 开发环境,支持安装特定版本的依赖包,便于开发和测试。
用于部署轻量级服务(如 Nginx、MySQL、Redis 等),利用-slim 变体可减少资源占用。
在持续集成/部署流程中作为构建或测试阶段的基础环境,确保环境一致性。
用于学习 Linux 命令、Debian 系统管理或测试跨版本兼容性。
1. 运行交互式终端
bashdocker run --rm -it docker.xuanyuan.run/amd64/debian:latest bash
--rm:容器退出后自动删除-it:交互式终端模式amd64/debian:latest:使用最新稳定版镜像bash:启动 bash 终端2. 运行自定义命令
bashdocker run --rm docker.xuanyuan.run/amd64/debian:bookworm-slim cat /etc/os-release
输出 Debian 版本信息。
3. 挂载本地目录
bashdocker run --rm -it -v $(pwd):/app docker.xuanyuan.run/amd64/debian:trixie-slim bash
将当前目录挂载到容器内 /app 目录,便于文件交互。
yamlversion: '3' services: debian-app: image: docker.xuanyuan.run/amd64/debian:bookworm container_name: debian-demo tty: true # 保持终端运行 environment: - LANG=C.UTF-8 # 设置默认编码 volumes: - ./data:/data # 挂载数据卷 command: bash # 启动命令
启动命令:docker-compose up -d
以下是 amd64/debian 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务