
如果你使用 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/_/alpine的`amd64`架构构建的“每架构”仓库——更多信息,请参见官方镜像文档中的“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”。
-** 维护者 **:
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/x86_64/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/4dc13cbc7caffe03c98aa99f28e27c2fb6f7e74d/x86_64/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/2c30d5daeebb5090b1b6363a9e97dd88bf08a642/x86_64/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/f5ce8f036ef8a57481ae6f3f1cf7f2300cff8d29/x86_64/Dockerfile
https://github.com/alpinelinux/docker-alpine/blob/ee939d52345248420cf62d4606ccc7152bc5a107/x86_64/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/
-** 已发布镜像 artifact 详情 **:
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/,你会发现其理念与Docker镜像的需求高度契合。
像使用其他基础镜像一样使用:
dockerfileFROM docker.xuanyuan.run/amd64/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中。
对于任何预构建镜像的使用,镜像用户有责任确保对该镜像的任何使用均符合其中包含的所有软件的相关许可证要求。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 amd64/alpine 相关的常用 Docker 镜像,适用于 不同场景 等不同场景: