
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这段话即可:
请先阅读并遵守:https://xuanyuan.cloud/agents.md
未读文档前不要生成 pull 命令或排错方案。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
** 注意 **:这是官方ubuntu镜像(https://hub.docker.com/_/ubuntu)的`riscv64`架构构建版本的“每架构”仓库——更多信息,请参阅官方镜像文档中的“除amd64之外的架构?”(https://github.com/docker-library/official-images#architectures-other-than-amd64)和官方镜像FAQ中的“镜像源在Git中已更改,该怎么办?”(https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what)。
-** 维护者 **:
https://launchpad.net/cloud-images
-** 获取帮助的途径 **:
https://dockr.ly/comm-slack、Server Fault、https://unix.stackexchange.com/help/on-topic 或 https://stackoverflow.com/help/on-topic
Dockerfile链接https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-jammy-riscv64-20251001-f9cccf1b&id=f9cccf1be1f2d27c358730c339889821d4f8fb5c
https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-noble-riscv64-20251001-aeafe6c8&id=aeafe6c87cb5b8a86db9c4d26c67dbaf6cbc1833
https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-plucky-riscv64-20251001-521b1d7f&id=521b1d7fdba6bb9ac3a885e6a501bf9d007399f3
https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/oci/index.json?h=refs/tags/dist-questing-riscv64-20251007-d10ac591&id=d10ac59172fe54507cde932fcfc1b3280e0c445a
-** 提交问题的地方 **:
https://bugs.launchpad.net/cloud-images(需包含`docker`标签)
-** 支持的架构 **:(https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/ubuntu/、https://hub.docker.com/r/arm32v7/ubuntu/、https://hub.docker.com/r/arm64v8/ubuntu/、https://hub.docker.com/r/ppc64le/ubuntu/、https://hub.docker.com/r/riscv64/ubuntu/、https://hub.docker.com/r/s390x/ubuntu/
-** 已发布镜像 artifact 详情 **:
https://github.com/docker-library/repo-info/blob/master/repos/ubuntu(https://github.com/docker-library/repo-info/commits/master/repos/ubuntu)
(镜像元数据、传输大小等)
-** 镜像更新 **:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fubuntu
https://github.com/docker-library/official-images/blob/master/library/ubuntu(https://github.com/docker-library/official-images/commits/master/library/ubuntu)
-** 本描述的来源 **:
https://github.com/docker-library/docs/tree/master/ubuntu(https://github.com/docker-library/docs/commits/master/ubuntu)
Ubuntu 是基于 Debian 的 Linux 操作系统,可运行于桌面、云端及所有联网设备。它是公共云和 OpenStack 云中最受欢迎的操作系统,也是容器的首选平台;从 Docker 到 Kubernetes 再到 LXD,Ubuntu 能大规模运行容器。它快速、安全且简单,为全球数百万台 PC 提供支持。
Ubuntu 的开发由 Canonical Ltd. 主导。Canonical 通过销售与 Ubuntu 相关的技术支持和其他服务获得收入。Ubuntu 项目公开致力于开源软件开发原则;鼓励人们使用自由软件、研究其工作原理、对其进行改进并分发。
https://ubuntu.com
本镜像基于 Canonical 提供的官方 rootfs tarballs 构建(参见 https://git.launchpad.net/cloud-images/+oci/ubuntu-base 中的 dist-* 标签)。
riscv64/ubuntu:latest 标签指向“最新 LTS”版本,这是推荐用于一般用途的版本。riscv64/ubuntu:rolling 标签指向最新发布版本(无论是否为 LTS)。
类似地,riscv64/ubuntu:devel 标签是 mirrors 上“devel”套件当前指向的版本的别名,可通过以下单行命令确定:wget -qO- http://archive.ubuntu.com/ubuntu/dists/devel/Release | awk -F ': ' '$1 == "Codename" { print $2; exit }'
由于这是 Ubuntu 的最小安装版本,默认仅包含 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
从 https://discourse.ubuntu.com/t/oracular-oriole-release-notes/44878#unminimize 开始,unminimize 命令将不再默认包含在最小镜像中。它现已移至专用包,可通过 apt-get install -y unminimize 安装。
Canonical 发布的 tarballs(参见 https://git.launchpad.net/cloud-images/+oci/ubuntu-base Git 仓库中的 dist-* 标签)基于 https://code.launchpad.net/~ubuntu-core-dev/livecd-rootfs/+git/livecd-rootfs/+ref/ubuntu/master 中的脚本构建,尤其是 live-build/auto/build。构建在 Launchpad 上运行。有关构建历史,请参见 Launchpad 上各个版本的 livefs 构建页面:
查看此镜像中包含的软件的https://www.ubuntu.com/about/about-ubuntu/licensing。
与所有 Docker 镜像一样,这些镜像可能还包含其他受其他许可证约束的软件(例如基础发行版中的 Bash 等,以及主要软件的任何直接或间接依赖项)。
一些能够自动检测到的额外许可信息可能位于 https://github.com/docker-library/repo-info/tree/master/repos/ubuntu中。
对于任何预构建镜像的使用,镜像用户有责任确保对本镜像的任何使用都符合其中包含的所有软件的相关许可证。
以下是 riscv64/ubuntu 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务