
如果你使用 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/_/hylang%E7%9A%84%60windows-amd64%60%E6%9E%B6%E6%9E%84%E7%89%88%E6%9C%AC%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%E2%80%9Chttps://github.com/docker-library/official-images#architectures-other-than-amd64%E2%80%9D%E4%BB%A5%E5%8F%8A%E5%AE%98%E6%96%B9%E9%95%9C%E5%83%8FFAQ%E4%B8%AD%E7%9A%84%E2%80%9Chttps://github.com/docker-library/faq#an-images-source-changed-in-git-now-what%E2%80%9D%E3%80%82
-** 维护者 **:
https://github.com/hylang/hy
-** 获取帮助的途径 **:
https://dockr.ly/comm-slack%E3%80%81Server Fault、https://unix.stackexchange.com/help/on-topic%E6%88%96https://stackoverflow.com/help/on-topic
Dockerfile链接(参见FAQ中的“https://github.com/docker-library/faq#whats-the-difference-between-shared-and-simple-tags%E2%80%9D%EF%BC%89
https://github.com/hylang/docker-hylang/blob/fed7ae62acf5651a05a296ab7396151e8182aa89/dockerfiles-generated/Dockerfile.python3.14-windowsservercore-ltsc2025
https://github.com/hylang/docker-hylang/blob/fed7ae62acf5651a05a296ab7396151e8182aa89/dockerfiles-generated/Dockerfile.python3.14-windowsservercore-ltsc2022
https://github.com/hylang/docker-hylang/blob/fed7ae62acf5651a05a296ab7396151e8182aa89/dockerfiles-generated/Dockerfile.python3.13-windowsservercore-ltsc2025
https://github.com/hylang/docker-hylang/blob/fed7ae62acf5651a05a296ab7396151e8182aa89/dockerfiles-generated/Dockerfile.python3.13-windowsservercore-ltsc2022
https://github.com/hylang/docker-hylang/blob/fed7ae62acf5651a05a296ab7396151e8182aa89/dockerfiles-generated/Dockerfile.pypy3.11-windowsservercore-ltsc2025
https://github.com/hylang/docker-hylang/blob/fed7ae62acf5651a05a296ab7396151e8182aa89/dockerfiles-generated/Dockerfile.pypy3.11-windowsservercore-ltsc2022
1.1.0-python3.14, 1.1-python3.14, 1-python3.14, python3.14, 1.1.0, 1.1, 1, latest:
1.1.0-python3.13, 1.1-python3.13, 1-python3.13, python3.13:
1.1.0-pypy3.11, 1.1-pypy3.11, 1-pypy3.11, pypy3.11, 1.1.0-pypy, 1.1-pypy, 1-pypy, pypy:
-** 提交issue的地址 **:
https://github.com/hylang/hy/issues?q=
-** 支持的架构 **:(https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/hylang/, https://hub.docker.com/r/arm32v5/hylang/, https://hub.docker.com/r/arm32v6/hylang/, https://hub.docker.com/r/arm32v7/hylang/, https://hub.docker.com/r/arm64v8/hylang/, https://hub.docker.com/r/i386/hylang/, https://hub.docker.com/r/mips64le/hylang/, https://hub.docker.com/r/ppc64le/hylang/, https://hub.docker.com/r/riscv64/hylang/, https://hub.docker.com/r/s390x/hylang/, https://hub.docker.com/r/winamd64/hylang/
-** 已发布镜像工件详情 **:
https://github.com/docker-library/repo-info/blob/master/repos/hylang (https://github.com/docker-library/repo-info/commits/master/repos/hylang)
(镜像元数据、传输大小等)
-** 镜像更新 **:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fhylang
https://github.com/docker-library/official-images/blob/master/library/hylang (https://github.com/docker-library/official-images/commits/master/library/hylang)
-** 本描述的来源 **:
https://github.com/docker-library/docs/tree/master/hylang (https://github.com/docker-library/docs/commits/master/hylang)
Hy(又称Hylang)是一种Lisp编程语言方言,旨在通过将表达式转换为Python的抽象语法树(AST)来与Python互操作。类似于Clojure将s表达式映射到JVM,Hy旨在作为Python抽象语法的透明Lisp前端。Hy还允许通过编译步骤导入和访问Python库(包括标准库)以及Hy代码,将两者的数据结构都转换为Python的AST。
***.org/wiki/Hy
!https://raw.githubusercontent.com/docker-library/docs/c097f38c6ee48cd***df8cd853a9d806fff429/hylang/logo.png
DockerfiledockerfileFROM docker.xuanyuan.run/winamd64/hylang:0.10 COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ "hy", "./your-daemon-or-script.hy" ]
然后可以构建并运行Docker镜像:
console$ docker build -t my-hylang-app $ docker run -it --rm --name my-running-app my-hylang-app
对于许多简单的单文件项目,编写完整的Dockerfile可能不方便。在这种情况下,可以直接使用Hy Docker镜像运行Hy脚本:
console$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp winamd64/hylang:0.10 hy your-daemon-or-script.hy
winamd64/hylang镜像有多种版本,每种版本设计用于特定用例。
winamd64/hylang:<version>这是默认镜像。如果不确定自己的需求,可能需要使用此版本。它既可用作临时容器(挂载源代码并启动容器以运行应用),也可用作构建其他镜像的基础。
winamd64/hylang:<version>-windowsservercore此镜像基于https://hub.docker.com/r/microsoft/windows-servercore%E3%80%82%E5%9B%A0%E6%AD%A4%EF%BC%8C%E5%AE%83%E4%BB%85%E5%9C%A8%E8%AF%A5%E9%95%9C%E5%83%8F%E6%94%AF%E6%8C%81%E7%9A%84%E7%8E%AF%E5%A2%83%E4%B8%AD%E5%B7%A5%E4%BD%9C%EF%BC%8C%E4%BE%8B%E5%A6%82Windows 10专业版/企业版(周年更新)或Windows Server 2016。
有关如何在Windows上运行Docker的信息,请参阅Microsoft提供的相关“快速入门”指南:
查看此镜像中包含的软件的https://github.com/hylang/hy/blob/master/LICENSE%E3%80%82
与所有Docker镜像一样,这些镜像可能还包含其他受其他许可约束的软件(例如基础发行版中的Bash等,以及主要软件的任何直接或间接依赖项)。
一些能够自动检测到的其他许可信息可能位于https://github.com/docker-library/repo-info/tree/master/repos/hylang%E4%B8%AD%E3%80%82
对于任何预构建镜像的使用,镜像用户有责任确保对本镜像的任何使用符合其中包含的所有软件的相关许可。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务