如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
arm32v7/debian 是 Debian 官方 Docker 镜像的 arm32v7 架构专用版本,基于 Debian 操作系统构建。Debian 是一款以自由开源软件为核心的 Linux 发行版,广泛用于个人计算机和服务器,也是众多其他 Linux 发行版的基础。本镜像专为 32 位 ARM 架构(如树莓派等嵌入式设备)优化,旨在提供最小化、可靠的基础运行环境,适用于应用开发、测试及部署。
bookworm(Debian 12)、bullseye(Debian 11)等,提供长期支持(LTS)。stable、testing、unstable,跟踪 Debian 滚动发布分支。bookworm-slim)。backports(提供新版软件包)、experimental(实验性分支)等。基于 Debian debootstrap 工具的 minbase 变体构建,仅包含核心必需软件包,确保最小镜像体积,同时保留 Debian 系统完整性。
使用 debuerreotype 工具链构建,确保镜像透明可追溯,支持通过相同工具链重现相同 rootfs 环境。
专为 arm32v7 架构优化,适用于 32 位 ARM 设备(如 ARM Cortex-A 系列处理器)。
slim 变体进一步降低资源占用。| 标签 | 说明 | Dockerfile 链接 |
|---|---|---|
bookworm, bookworm-20250929, 12.12, 12 | Debian 12(bookworm)稳定版 | https://github.com/debuerreotype/docker-debian-artifacts/blob/225288ca98614cb7e6f1c051b8bb982a42f215cf/bookworm/oci/index.json |
bookworm-slim, bookworm-20250929-slim, 12.12-slim, 12-slim | Debian 12 精简版 | https://github.com/debuerreotype/docker-debian-artifacts/blob/225288ca98614cb7e6f1c051b8bb982a42f215cf/bookworm/slim/oci/index.json |
bullseye, bullseye-20250929, 11.11, 11 | Debian 11(bullseye)稳定版 | https://github.com/debuerreotype/docker-debian-artifacts/blob/225288ca98614cb7e6f1c051b8bb982a42f215cf/bullseye/oci/index.json |
stable, stable-20250929 | 跟踪 Debian 稳定版滚动分支 | https://github.com/debuerreotype/docker-debian-artifacts/blob/225288ca98614cb7e6f1c051b8bb982a42f215cf/stable/oci/index.json |
testing, testing-20250929 | 跟踪 Debian 测试版滚动分支 | https://github.com/debuerreotype/docker-debian-artifacts/blob/225288ca98614cb7e6f1c051b8bb982a42f215cf/testing/oci/index.json |
sid, unstable | Debian 不稳定版(滚动更新) | https://github.com/debuerreotype/docker-debian-artifacts/blob/225288ca98614cb7e6f1c051b8bb982a42f215cf/sid/oci/index.json |
通过 docker pull 命令拉取指定标签的镜像:
bash# 拉取最新稳定版(bookworm,Debian 12) docker pull arm32v7/debian:latest # 拉取指定版本(如 bullseye-slim) docker pull arm32v7/debian:bullseye-slim
运行交互式容器(适用于调试或临时操作):
bash# 启动 bash 交互终端(--rm 表示退出后自动删除容器) docker run -it --rm arm32v7/debian:bookworm bash
本地化设置(Locale)
默认仅包含 C、C.UTF-8 和 POSIX locale。如需其他 locale(如 en_US.UTF-8),需手动安装:
bash# 在容器内执行:安装 locales 包并生成 en_US.UTF-8 apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 # 或在 Dockerfile 中预配置 ENV LANG en_US.utf8 RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \ && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
其他常用环境变量
可通过 -e 参数传递自定义环境变量,例如:
bashdocker run -it --rm -e LANG=C.UTF-8 -e APP_ENV=production arm32v7/debian:bookworm
通过 apt-get 管理软件包(需先更新索引):
bash# 在容器内安装 curl 和 git apt-get update && apt-get install -y curl git && rm -rf /var/lib/apt/lists/*
通过挂载主机目录到容器,实现数据持久化:
bash# 将主机当前目录挂载到容器的 /app 目录 docker run -it --rm -v $(pwd):/app arm32v7/debian:bookworm bash
创建 docker-compose.yml 配置文件,定义服务:
yamlversion: '3' services: debian-app: image: arm32v7/debian:bookworm-slim container_name: my-debian-app environment: - LANG=C.UTF-8 volumes: - ./app-data:/data # 挂载主机目录到容器 command: bash -c "apt-get update && apt-get install -y python3 && python3 --version"
启动服务:
bashdocker-compose up
debuerreotype 工具构建 Debian rootfs,基于 minbase 变体,仅包含核心包。debuerreotype-slimify 脚本移除文档、man 页、静态库等非必要文件,减小体积。docker-debian-artifacts 脚本生成各架构(含 arm32v7)的 Dockerfile 及 metadata。dist-arm32v7 分支查看。debian、docker)镜像中软件包的许可证遵循 Debian 项目许可协议,主要为 GNU GPL、MIT 等自由开源许可证。具体软件包许可证信息可通过以下途径获取:
使用镜像时,需确保遵守所有包含软件的许可证要求。
以下是 arm32v7/debian 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


来自真实用户的反馈,见证轩辕镜像的优质服务