
如果你使用 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 的 mips64le 架构专用仓库——更多信息,请参见官方镜像文档中的“https://github.com/docker-library/official-images#architectures-other-than-amd64%E2%80%9D%E4%BB%A5%E5%8F%8A%E5%AE%98%E6%96%B9%E9%95%9C%E5%83%8F%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%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
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/bookworm/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/bookworm/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/bookworm/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/experimental/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/oldstable/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/oldstable/backports/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/oldstable/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/rc-buggy/Dockerfile
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/sid/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/sid/slim/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/unstable/oci/index.json
https://github.com/debuerreotype/docker-debian-artifacts/blob/7ea4ec9d312b883a0cd5013e515ea8dd7a9628ac/unstable/slim/oci/index.json
提交 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/, 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/
已发布镜像制品详情: 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
Debian 是一个主要由自由开源软件组成的操作系统,其中大部分软件遵循 GNU 通用公共许可证,由一群称为 Debian 项目的个人开发。Debian 是个人计算机和网络服务器中最受欢迎的 Linux 发行版之一,并且被用作其他多个 Linux 发行版的基础。
***.org/wiki/Debian
!https://raw.githubusercontent.com/docker-library/docs/b449be7df57e9ed9086bb5821bfb5d6cdc5d67a4/debian/logo.png
本仓库中的镜像旨在尽可能精简(由于容器的不可变/分层特性,添加内容比删除更容易)。具体而言,它们基于 “minbase” 变体 构建,该变体仅安装“必需”软件包,从而创建仍为“Debian”(由项目中的 发布和 FTP 团队 定义/管理)的最小可能占用空间。
mips64le/debian:latest 标签将始终指向最新的稳定版本。稳定版本也会使用其版本号进行标记(例如,mips64le/debian:11 是 mips64le/debian:bullseye 的别名,mips64le/debian:10 是 mips64le/debian:buster 的别名等)。
滚动标签(mips64le/debian:stable、mips64le/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
运行交互式容器
通过以下命令可启动一个基于 mips64le/debian:bookworm 的交互式 Bash 终端:
bashdocker run -it --rm mips64le/debian:bookworm /bin/bash
构建自定义镜像(以安装 Nginx 为例)
创建 Dockerfile:
dockerfileFROM mips64le/debian:bookworm RUN apt-get update && apt-get install -y nginx && rm -rf /var/lib/apt/lists/* EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]
构建镜像:
bashdocker build -t my-debian-nginx .
运行容器:
bashdocker run -d -p 80:80 my-debian-nginx
此镜像的 rootfs 压缩包使用 https://github.com/debuerreotype/debuerreotype 构建,其明确目标是透明且可重现。使用相同的工具链,应该可以重新生成(干净地!)用于构建官方 Debian 镜像的相同压缩包。https://github.com/debuerreotype/debuerreotype/blob/master/examples/debian.sh%EF%BC%88%E4%BB%A5%E5%8F%8A%E9%85%8D%E5%A5%97%E7%9A%84 debian-all.sh 包装器)是用于创建本镜像中发布的制品的标准入口点(通过类似于该仓库根目录中包含的 docker-run.sh 的流程)。
此外,https://github.com/debuerreotype/docker-debian-artifacts 中的脚本用于创建每个标签的 Dockerfile,并将特定架构的压缩包收集到 https://github.com/debuerreotype/docker-debian-artifacts/branches 中,这些分支还包含每个构建中包含的制品的额外元数据,例如基础镜像中包含的显式软件包版本(rootfs.manifest)、debuerreotype 调用时使用的确切 snapshot.debian.org 时间戳(rootfs.debuerreotype-epoch)、镜像中找到的 sources.list(rootfs.sources-list)以及镜像创建过程中使用的 sources.list(rootfs.sources-list-snapshot)等。
为方便起见,每个主要 rootfs.tar.xz 制品的 SHA256 校验和(以及完整构建命令)也发布在 docker.debian.net。
mips64le/debian:<suite>-slim这些标签是提供更精简基础镜像的实验性版本(删除了容器中通常不需要的一些额外文件,如手册页和文档),并且可能会发生变化。
有关“精简”过程中删除内容的更多详细信息,请参见 debuerreotype-slimify 脚本(上文链接的 debuerreotype)。
查看本镜像中包含的软件的 许可证信息。
与所有 Docker 镜像一样,这些镜像可能还包含其他受其他许可证约束的软件(例如基础发行版中的 Bash 等,以及主要软件的任何直接或间接依赖项)。
一些能够自动检测到的额外许可证信息可能位于 https://github.com/docker-library/repo-info/tree/master/repos/debian 中。
对于任何预构建镜像的使用,镜像用户有责任确保对本镜像的任何使用都符合其中包含的所有软件的相关许可证。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 mips64le/debian 相关的常用 Docker 镜像,适用于 不同场景 等不同场景: