
如果你使用 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 的s390x架构构建的“per-architecture”仓库——更多信息,请参见官方镜像文档中的“https://github.com/docker-library/official-images#architectures-other-than-amd64”以及官方镜像FAQ中的“https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what”。
-** 维护者 **:
Debian开发者 https://qa.debian.org/developer.php?login=tianon 和 https://qa.debian.org/developer.php?login=paultag
-** 获取帮助 **:
https://dockr.ly/comm-slack、Server Fault、https://unix.stackexchange.com/help/on-topic 或 https://stackoverflow.com/help/on-topic
Dockerfile链接https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/bookworm/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/bookworm/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/bookworm/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/experimental/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/forky/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/forky/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/forky/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/oldstable/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/oldstable/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/oldstable/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/rc-buggy/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/sid/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/sid/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/stable/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/stable/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/stable/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/testing/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/testing/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/testing/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/trixie/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/trixie/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/trixie/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/unstable/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/ed1a0a9634ed510513d1c9acac1e8ae62c5aa3a4/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://manpages.debian.org/stable/debootstrap/debootstrap.8.en.html#variant=minbase_buildd_fakechroot构建,仅安装“必需”软件包,从而创建仍被视为“Debian”(由Debian项目的https://www.debian.org/intro/organization#distribution定义和管理)的最小可能镜像。
s390x/debian:latest标签始终指向最新的稳定版本。稳定版本也会使用其版本号标记(例如,s390x/debian:11是s390x/debian:bullseye的别名,s390x/debian:10是s390x/debian:buster的别名等)。
滚动标签(如s390x/debian:stable、s390x/debian:testing等)在其/etc/apt/sources.list文件中使用滚动套件名称(即deb http://deb.debian.org/debian testing main)。
如果需要使用已终止支持(EOL)的Debian版本(因此只能从http://archive.debian.org获取),可查看https://hub.docker.com/r/debian/eol/,其中包含回溯至Potato(Debian 2.2)的标签,这是首个完全支持APT的版本。
由于本镜像是Debian的“minbase”忠实安装,默认仅包含C、C.UTF-8和POSIX区域设置。对于大多数需要UTF-8区域设置的场景,C.UTF-8可能已足够(通过-e LANG=C.UTF-8或ENV LANG C.UTF-8设置)。
若C.UTF-8不满足需求,可通过locales软件包安装/生成其他区域设置。https://github.com/docker-library/postgres/blob/69bc540ecfffecce72d49fa7e4a46680350037f9/9.6/Dockerfile#L21-L24,复制如下:
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(及其配套包装脚本`debian-all.sh`)是创建本镜像所用 artifact 的标准入口(通过与仓库根目录中的docker-run.sh类似的流程)。
此外,https://github.com/debuerreotype/docker-debian-artifacts中的脚本用于创建各标签的`Dockerfile`,并将特定架构的tarball收集到https://github.com/debuerreotype/docker-debian-artifacts/branches,这些分支还包含构建中 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。
s390x/debian:<suite>-slim这些标签是提供更精简基础镜像的实验性版本(移除容器中通常非必需的额外文件,如手册页和文档),且可能会发生变化。
有关“精简过程”中移除内容的更多详情,请参见debuerreotype-slimify脚本(上文链接的debuerreotype工具)。
查看本镜像包含软件的https://www.debian.org/social_contract#guidelines
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 s390x/debian 相关的常用 Docker 镜像,适用于 不同场景 等不同场景: