如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
注意:这是https://hub.docker.com/_/debian%E7%9A%84%60riscv64%60%E6%9E%B6%E6%9E%84%E6%9E%84%E5%BB%BA%E7%9A%84%E2%80%9C%E6%AF%8F%E6%9E%B6%E6%9E%84%E2%80%9D%E4%BB%93%E5%BA%93%E2%80%94%E2%80%94%E6%9B%B4%E5%A4%9A%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%AF%B7%E5%8F%82%E8%A7%81%E5%AE%98%E6%96%B9%E9%95%9C%E5%83%8F%E6%96%87%E6%A1%A3%E4%B8%AD%E7%9A%84%E2%80%9Chttps://github.com/docker-library/official-images#architectures-other-than-amd64%E2%80%9D%E5%92%8C%E5%AE%98%E6%96%B9%E9%95%9C%E5%83%8FFAQ%E4%B8%AD%E7%9A%84%E2%80%9Chttps://github.com/docker-library/faq#an-images-source-changed-in-git-now-what%E2%80%9D%E3%80%82
维护者:
Debian开发者 tianon 和 paultag
获取帮助的地方:
Docker社区Slack、Server Fault、Unix & Linux 或 Stack Overflow
Dockerfile 链接https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/experimental/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/forky/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/forky/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/forky/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/rc-buggy/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/sid/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/sid/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/stable/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/stable/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/stable/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/testing/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/testing/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/testing/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/trixie/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/trixie/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/trixie/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/unstable/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/d9df3e86bc243f16c1bbe29cefb4fcaae0e7f1d3/unstable/slim/oci/index.json
问题提交地址:
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/, https://hub.docker.com/r/arm32v5/debian/, https://hub.docker.com/r/arm32v7/debian/, https://hub.docker.com/r/arm64v8/debian/, https://hub.docker.com/r/i386/debian/, https://hub.docker.com/r/mips64le/debian/, https://hub.docker.com/r/ppc64le/debian/, https://hub.docker.com/r/riscv64/debian/, https://hub.docker.com/r/s390x/debian/
镜像 artifact 详情:
https://github.com/docker-library/repo-info/blob/master/repos/debian (https://github.com/docker-library/repo-info/commits/master/repos/debian)
(镜像元数据、传输大小等)
镜像更新:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fdebian
https://github.com/docker-library/official-images/blob/master/library/debian (https://github.com/docker-library/official-images/commits/master/library/debian)
本描述的来源:
https://github.com/docker-library/docs/tree/master/debian (https://github.com/docker-library/docs/commits/master/debian)
Debian 是一个主要由自由开源软件组成的操作系统,其中大部分软件遵循 GNU 通用公共许可证,由名为 Debian 项目的团队开发。Debian 是个人电脑和网络服务器中最受欢迎的 Linux 发行版之一,并且被用作其他多个 Linux 发行版的基础。
***.org/wiki/Debian
!https://raw.githubusercontent.com/docker-library/docs/b449be7df57e9ed9086bb5821bfb5d6cdc5d67a4/debian/logo.png
本仓库中的镜像旨在尽可能精简(由于容器的不可变/分层特性,添加内容比删除更容易)。具体而言,它们基于“minbase”变体构建,该变体仅安装“必需”软件包,从而创建仍为“Debian”(由项目内发布和 FTP 团队定义/管理)的最小可能占用空间。
riscv64/debian:latest 标签将始终指向最新稳定版本。稳定版本也会使用其版本号进行标记(例如,riscv64/debian:11 是 riscv64/debian:bullseye 的别名,riscv64/debian:10 是 riscv64/debian:buster 的别名等)。
滚动标签(riscv64/debian:stable、riscv64/debian:testing 等)在其 /etc/apt/sources.list 文件中使用滚动套件名(即 deb http://deb.debian.org/debian testing main)。
这些镜像使用的默认镜像是 deb.debian.org CDN 指针/重定向器,以确保对大多数用户尽可能可靠(并且自 2016-10-20 起成为 debootstrap 的默认镜像)。有关更多信息,请参见 deb.debian.org 主页。
如果需要 EOL(生命周期结束)的 Debian 版本(因此只能从 archive.debian.org 获取),可以查看 https://hub.docker.com/r/debian/eol/%EF%BC%8C%E5%85%B6%E4%B8%AD%E5%8C%85%E5%90%AB%E5%9B%9E%E6%BA%AF%E5%88%B0 Potato(Debian 2.2)的 Debian 版本标签,这是第一个完全使用 APT 的版本。
由于这是 Debian 的忠实“minbase”安装,此镜像默认仅包含 C、C.UTF-8 和 POSIX 本地化。对于大多数需要 UTF-8 本地化的用途,C.UTF-8 可能已足够(通过 -e LANG=C.UTF-8 或 ENV LANG C.UTF-8 设置)。
如果这不够,其他本地化可以通过 locales 软件包安装/生成。https://github.com/docker-library/postgres/blob/69bc540ecfffecce72d49fa7e4a46680350037f9/9.6/Dockerfile#L21-L24%EF%BC%8C%E5%A4%8D%E5%88%B6%E5%A6%82%E4%B8%8B%EF%BC%9A
dockerfileRUN 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 ENV LANG en_US.utf8
此镜像的 rootfs tarball 使用 https://github.com/debuerreotype/debuerreotype 构建,其明确目标是透明且可重现。使用相同的工具链,应该可以重新生成(干净地!)用于构建官方 Debian 镜像的相同 tarball。https://github.com/debuerreotype/debuerreotype/blob/master/examples/debian.sh%EF%BC%88%E5%8F%8A%E5%85%B6%E9%85%8D%E5%A5%97/%E5%8C%85%E8%A3%85%E5%99%A8 debian-all.sh)是用于创建本镜像中发布的 artifact 的标准入口点(通过类似于该仓库根目录中包含的 docker-run.sh 的过程)。
此外,https://github.com/debuerreotype/docker-debian-artifacts 中的脚本用于创建每个标签的 Dockerfile,并将特定架构的 tarball 收集到https://github.com/debuerreotype/docker-debian-artifacts/branches%E4%B8%AD%EF%BC%8C%E8%BF%99%E4%BA%9B%E5%88%86%E6%94%AF%E8%BF%98%E5%8C%85%E5%90%AB%E6%AF%8F%E4%B8%AA%E6%9E%84%E5%BB%BA%E4%B8%AD%E5%8C%85%E5%90%AB%E7%9A%84 artifact 的额外元数据,例如基础镜像中包含的明确软件包版本(rootfs.manifest)、debuerreotype 调用时使用的确切 snapshot.debian.org 时间戳(rootfs.debuerreotype-epoch)、镜像中的 sources.list(rootfs.sources-list)以及镜像创建过程中使用的 sources.list(rootfs.sources-list-snapshot)等。
为方便起见,每个主要 rootfs.tar.xz artifact 的 SHA256 校验和(以及完整构建命令)也发布在 docker.debian.net。
riscv64/debian:<suite>-slim这些标签是提供更精简基础镜像的实验性版本(删除了容器中通常不需要的一些额外文件,如手册页和文档),并且可能会发生变化。
有关“精简”过程中删除内容的更多详细信息,请参见 debuerreotype-slimify 脚本(上文链接的 debuerreotype)。
查看此镜像中包含的软件的许可信息。
与所有 Docker 镜像一样,这些镜像可能还包含其他受其他许可协议约束的软件(例如基础发行版中的 Bash 等,以及主要软件的任何直接或间接依赖项)。
一些能够自动检测到的额外许可信息可能位于 https://github.com/docker-library/repo-info/tree/master/repos/debian%E4%B8%AD%E3%80%82
对于任何预构建镜像的使用,镜像用户有责任确保对本镜像的任何使用都符合其中包含的所有软件的相关许可协议。
以下是 riscv64/debian 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


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