如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
注意:这是针对s390x架构构建的"每个架构"仓库,对应https://hub.docker.com/_/alpine的`s390x`版本——更多信息,请参见官方镜像文档中的"除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://github.com/alpinelinux/docker-alpine(Alpine Linux维护者)
获取帮助:
https://dockr.ly/comm-slack、Server Fault、https://unix.stackexchange.com/help/on-topic或https://stackoverflow.com/help/on-topic
Dockerfile链接https://github.com/alpinelinux/docker-alpine/blob/c1f1de232c970df2285c03050ab3747b8563164f/s390x/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/4dc13cbc7caffe03c98aa99f28e27c2fb6f7e74d/s390x/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/2c30d5daeebb5090b1b6363a9e97dd88bf08a642/s390x/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/f5ce8f036ef8a57481ae6f3f1cf7f2300cff8d29/s390x/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/ee939d52345248420cf62d4606ccc7152bc5a107/s390x/Dockerfile
问题反馈地址:
https://github.com/alpinelinux/docker-alpine/issues?q=
支持的架构:(https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/alpine/、https://hub.docker.com/r/arm32v6/alpine/、https://hub.docker.com/r/arm32v7/alpine/、https://hub.docker.com/r/arm64v8/alpine/、https://hub.docker.com/r/i386/alpine/、https://hub.docker.com/r/ppc64le/alpine/、https://hub.docker.com/r/riscv64/alpine/、https://hub.docker.com/r/s390x/alpine/
已发布镜像制品详情:
https://github.com/docker-library/repo-info/blob/master/repos/alpine(https://github.com/docker-library/repo-info/commits/master/repos/alpine)
(镜像元数据、传输大小等)
镜像更新:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Falpine
https://github.com/docker-library/official-images/blob/master/library/alpine(https://github.com/docker-library/official-images/commits/master/library/alpine)
本描述的来源:
https://github.com/docker-library/docs/tree/master/alpine(https://github.com/docker-library/docs/commits/master/alpine)
https://alpinelinux.org/是一款围绕https://www.musl-libc.org/和https://www.busybox.net/构建的Linux发行版。该镜像大小仅5MB,且可访问https://pkgs.alpinelinux.org/,比其他基于BusyBox的镜像更完善。这使得Alpine Linux成为构建工具和生产应用的理想镜像基础。https://alpinelinux.org/about/。
像使用其他基础镜像一样使用:
dockerfileFROM docker.xuanyuan.run/s390x/alpine:3.14 RUN apk add --no-cache mysql-client ENTRYPOINT ["mysql"]
此示例的虚拟镜像大小仅为36.8MB。相比之下,Ubuntu的示例:
dockerfileFROM docker.xuanyuan.run/ubuntu:20.04 RUN apt-get update \ && apt-get install -y --no-install-recommends mysql-client \ && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["mysql"]
其虚拟镜像大小约为145MB。
查看此镜像包含软件的https://pkgs.alpinelinux.org。
与所有Docker镜像一样,本镜像可能包含其他软件,这些软件可能采用其他许可证(如基础发行版中的Bash等,以及主要软件的任何直接或间接依赖项)。
部分可自动检测的额外许可证信息可能位于https://github.com/docker-library/repo-info/tree/master/repos/alpine中。
对于任何预构建镜像的使用,镜像用户有责任确保对本镜像的任何使用均符合其中包含的所有软件的相关许可证要求。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 s390x/alpine 相关的常用 Docker 镜像,适用于 不同场景 等不同场景: