如果你使用 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/_/erlang%E7%9A%84%60amd64%60%E6%9E%B6%E6%9E%84%E6%9E%84%E5%BB%BA%E7%9A%84%22per-architecture%22%E4%BB%93%E5%BA%93%E2%80%94%E2%80%94%E6%9B%B4%E5%A4%9A%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%AF%B7%E5%8F%82%E8%A7%81%E5%AE%98%E6%96%B9%E9%95%9C%E5%83%8F%E6%96%87%E6%A1%A3%E4%B8%AD%E7%9A%84%22%E9%99%A4amd64%E4%B9%8B%E5%A4%96%E7%9A%84%E6%9E%B6%E6%9E%84%EF%BC%9F%22%5Bhttps://github.com/docker-library/official-images#architectures-other-than-amd64%5D%E5%92%8C%E5%AE%98%E6%96%B9%E9%95%9C%E5%83%8FFAQ%E4%B8%AD%E7%9A%84%22%E9%95%9C%E5%83%8F%E6%BA%90%E5%9C%A8Git%E4%B8%AD%E5%B7%B2%E6%9B%B4%E6%94%B9%EF%BC%8C%E7%8E%B0%E5%9C%A8%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%9F%22%5Bhttps://github.com/docker-library/faq#an-images-source-changed-in-git-now-what%5D%E3%80%82
维护者:
https://github.com/erlang/docker-erlang-otp
获取帮助:
Docker社区Slack、Server Fault、Unix & Linux或Stack Overflow
Dockerfile链接https://github.com/erlang/docker-erlang-otp/blob/6d241956bbead4df3fefca19c84c5b4908a5d353/28/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/6d241956bbead4df3fefca19c84c5b4908a5d353/28/slim/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/6d241956bbead4df3fefca19c84c5b4908a5d353/28/alpine/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c57e3a8731074ddd85f016d48104e4f08cb2a90a/27/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c57e3a8731074ddd85f016d48104e4f08cb2a90a/27/slim/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c57e3a8731074ddd85f016d48104e4f08cb2a90a/27/alpine/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c57e3a8731074ddd85f016d48104e4f08cb2a90a/26/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c57e3a8731074ddd85f016d48104e4f08cb2a90a/26/slim/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c57e3a8731074ddd85f016d48104e4f08cb2a90a/26/alpine/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/ed3c77d4426badd6646abb7aff04d38612918848/25/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/ed3c77d4426badd6646abb7aff04d38612918848/25/slim/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/ed3c77d4426badd6646abb7aff04d38612918848/25/alpine/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c7e3d58244259ec45bd0b84df7287096d9833d19/24/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/c7e3d58244259ec45bd0b84df7287096d9833d19/24/slim/Dockerfile
https://github.com/erlang/docker-erlang-otp/blob/31b38022c405588392cfb37ff4ccb0cff92873ea/24/alpine/Dockerfile
提交issues的地址:
https://github.com/erlang/docker-erlang-otp/issues?q=
支持的架构:(https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/erlang/%E3%80%81https://hub.docker.com/r/arm32v5/erlang/%E3%80%81https://hub.docker.com/r/arm32v7/erlang/%E3%80%81https://hub.docker.com/r/arm64v8/erlang/%E3%80%81https://hub.docker.com/r/i386/erlang/%E3%80%81https://hub.docker.com/r/mips64le/erlang/%E3%80%81https://hub.docker.com/r/ppc64le/erlang/%E3%80%81https://hub.docker.com/r/s390x/erlang/
已发布镜像的制品详情:
https://github.com/docker-library/repo-info/blob/master/repos/erlang%EF%BC%88https://github.com/docker-library/repo-info/commits/master/repos/erlang%EF%BC%89
(镜像元数据、传输大小等)
镜像更新:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Ferlang
https://github.com/docker-library/official-images/blob/master/library/erlang%EF%BC%88https://github.com/docker-library/official-images/commits/master/library/erlang%EF%BC%89
本描述的来源:
https://github.com/docker-library/docs/tree/master/erlang%EF%BC%88https://github.com/docker-library/docs/commits/master/erlang%EF%BC%89
Erlang是一种编程语言,用于构建大规模可扩展的软实时系统,对高可用性有要求。它的一些应用领域包括电信、银行、电子商务、计算机电话和即时通讯。Erlang的运行时系统内置支持并发、分布式和容错。
***.org/wiki/Erlang_(programming_language)
!https://raw.githubusercontent.com/docker-library/docs/4144083772e02655d41aa10d6467aaf1e99fa77b/erlang/logo.png
console➸ docker run -it --rm amd64/erlang Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] Eshell V9.0 (按^G退出) 1> uptime(). 3 seconds ok 2> % 使用Ctrl+G调用shell切换 User switch command --> ? c [nn] - 连接到作业 i [nn] - 中断作业 k [nn] - 终止作业 j - 列出所有作业 s [shell] - 启动本地shell r [node [shell]] - 启动远程shell q - 退出erlang ? | h - 此帮助信息 --> q ➸ docker run -it --rm -h erlang.local amd64/erlang erl -name snode@erlang.local Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] Eshell V9.0 (按^G退出) (snode@erlang.local)1> erlang:system_info(otp_release). "20" (snode@erlang.local)2> User switch command --> q
console$ docker run -it --rm --name erlang-inst1 -v "$PWD":/usr/src/myapp -w /usr/src/myapp amd64/erlang escript your-escript.erl
amd64/erlang镜像有多种版本,每种版本设计用于特定场景。
amd64/erlang:<version>这是默认镜像。如果不确定自己的需求,建议使用此版本。它既可用作临时容器(挂载源代码并启动容器以运行应用),也可用作构建其他镜像的基础。
此标签基于https://hub.docker.com/_/buildpack-deps/%E3%80%82%60buildpack-deps%60%E4%B8%93%E4%B8%BA%E6%8B%A5%E6%9C%89%E5%A4%9A%E4%B8%AA%E9%95%9C%E5%83%8F%E7%9A%84%E6%99%AE%E9%80%9ADocker%E7%94%A8%E6%88%B7%E8%AE%BE%E8%AE%A1%EF%BC%8C%E5%8C%85%E5%90%AB%E5%A4%A7%E9%87%8F%E6%9E%81%E5%B8%B8%E8%A7%81%E7%9A%84Debian%E8%BD%AF%E4%BB%B6%E5%8C%85%EF%BC%8C%E5%87%8F%E5%B0%91%E6%B4%BE%E7%94%9F%E9%95%9C%E5%83%8F%E6%89%80%E9%9C%80%E5%AE%89%E8%A3%85%E7%9A%84%E5%8C%85%E6%95%B0%E9%87%8F%EF%BC%8C%E4%BB%8E%E8%80%8C%E5%87%8F%E5%B0%8F%E7%B3%BB%E7%BB%9F%E4%B8%AD%E6%89%80%E6%9C%89%E9%95%9C%E5%83%8F%E7%9A%84%E6%80%BB%E4%BD%93%E7%A7%AF%E3%80%82
amd64/erlang:<version>-slim此镜像不包含默认标签中的常见软件包,仅包含运行amd64/erlang所需的最小软件包。除非在仅部署amd64/erlang镜像且有空间限制的环境中使用,否则强烈建议使用默认镜像。
amd64/erlang:<version>-alpine此镜像基于流行的Alpine Linux项目,该项目在https://hub.docker.com/_/alpine%E4%B8%AD%E5%8F%AF%E7%94%A8%E3%80%82Alpine Linux比大多数发行版基础镜像小得多(约5MB),因此通常生成更精简的镜像。
当最终镜像大小是首要考虑因素时,此变体非常有用。需要注意的是,它使用musl libc而非glibc及相关库,因此软件可能因对libc的依赖或假设而遇到问题。有关可能出现的问题及使用Alpine基础镜像的优缺点比较,可参见此Hacker News评论线程。
为最小化镜像大小,Alpine基础镜像通常不包含额外相关工具(如git或bash)。若以此镜像为基础,可在自己的Dockerfile中添加所需工具(如不熟悉如何安装软件包,可参见https://hub.docker.com/_/alpine/%E4%B8%AD%E7%9A%84%E7%A4%BA%E4%BE%8B%EF%BC%89%E3%80%82
查看此镜像中包含软件的许可证信息。
与所有Docker镜像一样,这些镜像可能还包含其他软件,可能采用其他许可证(如基础发行版中的Bash等,以及主要软件的任何直接或间接依赖项)。
一些可自动检测到的额外许可证信息可能位于https://github.com/docker-library/repo-info/tree/master/repos/erlang%E4%B8%AD%E3%80%82
对于任何预构建镜像的使用,镜像用户有责任确保对本镜像的任何使用符合其中包含的所有软件的相关许可证。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。




来自真实用户的反馈,见证轩辕镜像的优质服务