
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
注意: 这是https://hub.docker.com/_/julia的`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/docker-library/julia
获取帮助:
https://dockr.ly/comm-slack、Server Fault、https://unix.stackexchange.com/help/on-topic或https://stackoverflow.com/help/on-topic
Dockerfile链接(参见FAQ中的https://github.com/docker-library/faq#whats-the-difference-between-shared-and-simple-tags)
https://github.com/docker-library/julia/blob/30e953f8abfa024651984120929c403b7cdf5a9a/1.12/trixie/Dockerfile
https://github.com/docker-library/julia/blob/30e953f8abfa024651984120929c403b7cdf5a9a/1.12/bookworm/Dockerfile
https://github.com/docker-library/julia/blob/fa7463443f367283c***f5fe7d5f40a960b66/1.11/trixie/Dockerfile
https://github.com/docker-library/julia/blob/fa7463443f367283c***f5fe7d5f40a960b66/1.11/bookworm/Dockerfile
https://github.com/docker-library/julia/blob/25081b47fd632d8a7140a3fede2da1db2d96aee5/1.10/trixie/Dockerfile
https://github.com/docker-library/julia/blob/36ec8a84fe6a3ac59872725f20e892e472b45227/1.10/bookworm/Dockerfile
https://github.com/docker-library/julia/blob/36ec8a84fe6a3ac59872725f20e892e472b45227/1.10/alpine3.22/Dockerfile
https://github.com/docker-library/julia/blob/36ec8a84fe6a3ac59872725f20e892e472b45227/1.10/alpine3.21/Dockerfile
1.12.0, 1.12, 1, latest:
1.11.7, 1.11:
1.10.10, 1.10:
问题提交地址:
https://github.com/docker-library/julia/issues?q=
支持的架构: (https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/julia/、https://hub.docker.com/r/arm64v8/julia/、https://hub.docker.com/r/i386/julia/、https://hub.docker.com/r/ppc64le/julia/、https://hub.docker.com/r/winamd64/julia/
已发布镜像制品详情:
https://github.com/docker-library/repo-info/blob/master/repos/julia(https://github.com/docker-library/repo-info/commits/master/repos/julia)
(镜像元数据、传输大小等)
镜像更新:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fjulia
https://github.com/docker-library/official-images/blob/master/library/julia(https://github.com/docker-library/official-images/commits/master/library/julia)
本描述的来源:
https://github.com/docker-library/docs/tree/master/julia(https://github.com/docker-library/docs/commits/master/julia)
Julia是一种用于技术计算的高级、高性能动态编程语言,其语法对其他技术计算环境的用户来说较为熟悉。它提供了复杂的编译器、分布式并行执行、数值精度和广泛的数学函数库。
http://julialang.org/
Julia支持的平台分为层级系统,根据支持级别进行排序。有关支持层级的更多详细信息,请参见Julia下载页面上的https://julialang.org/downloads/#currently_supported_platforms。
特别需要注意的是,Alpine/musl属于"第3级",因为存在几个已知问题(参见https://github.com/docker-library/julia/pull/47#issuecomment-652661869、https://github.com/JuliaLang/julia/issues/28805、https://github.com/JuliaLang/julia/issues/36458)。
启动Julia REPL非常简单,命令如下:
console$ docker run -it --rm amd64/julia
console$ docker run -it --rm -v "$PWD":/usr/myapp -w /usr/myapp amd64/julia julia script.jl arg1 arg2
amd64/julia镜像有多种版本,每种版本设计用于特定用例。
amd64/julia:<version>这是默认镜像。如果不确定自己的需求,可能需要使用此版本。它既可以用作临时容器(挂载源代码并启动容器以运行应用),也可以作为构建其他镜像的基础。
其中一些标签可能包含bookworm或trixie等名称,这些是https://wiki.debian.org/DebianReleases发行版的代号,表示镜像基于哪个发行版。如果镜像需要安装除自带软件包之外的其他软件包,建议明确指定其中一个代号,以减少Debian新版本发布时可能出现的中断。
amd64/julia:<version>-alpine此镜像基于流行的https://alpinelinux.org,可在https://hub.docker.com/_/alpine中获取。Alpine Linux比大多数发行版基础镜像小得多(约5MB),因此通常会生成更精简的镜像。
当最终镜像大小尽可能小是主要关注点时,此变体非常有用。需要注意的主要问题是,它使用https://musl.libc.org而非https://www.etalabs.net/compare_libcs.html,因此软件可能会根据其libc要求/假设的深度而遇到问题。有关可能出现的问题以及使用基于Alpine的镜像的优缺点比较,请参见此Hacker News评论线程。
为了最小化镜像大小,在基于Alpine的镜像中通常不包含其他相关工具(如git或bash)。以此镜像为基础,可在自己的Dockerfile中添加所需工具(如果不熟悉如何安装软件包,请参见https://hub.docker.com/_/alpine/中的示例)。
查看此镜像中包含的软件的http://julialang.org/。
与所有Docker镜像一样,这些镜像可能还包含其他软件,这些软件可能采用其他许可(如基础发行版中的Bash等,以及主要软件的任何直接或间接依赖项)。
在https://github.com/docker-library/repo-info/tree/master/repos/julia中可能会找到一些能够自动检测到的其他许可信息。
对于任何预构建镜像的使用,镜像用户有责任确保对该镜像的任何使用符合其中包含的所有软件的相关许可。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务