
如果你使用 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://travis-ci.com/renault-digital/docker-helm-docs.svg?token=ncotYzyGStjuDrTy46xs&branch=master](https://travis-ci.com/renault-digital/docker-helm-docs)
当https://github.com/norwoodj/helm-docs%E6%9C%89%E6%96%B0%E7%89%88%E6%9C%AC%E5%8F%91%E5%B8%83%E6%97%B6%EF%BC%8C%E8%87%AA%E5%8A%A8%E8%A7%A6%E5%8F%91%E6%AD%A4Docker%E9%95%9C%E5%83%8F%E7%9A%84%E6%9E%84%E5%BB%BA%E3%80%82
http://dockeri.co/image/renaultdigital/helm-docs](https://hub.docker.com/r/renaultdigital/helm-docs/)
latest标签对应最新发布版本(https://github.com/helm-docs/helm-docs/releases/latest%EF%BC%89%E3%80%82
生产环境部署时请避免使用latest标签,正确的做法是使用具体版本标签,例如renaultdigital/helm-docs:3.1.1。
https://github.com/renault-digital/helm-docs
https://travis-ci.com/github/renault-digital/docker-helm-docs
https://hub.docker.com/r/renaultdigital/helm-docs/tags/
本镜像为norwoodj/helm-docs项目提供自动构建的Docker化解决方案。当原项目发布新版本时,会自动触发镜像构建,确保用户能够快速获取最新版本。主要用于在CI/CD流程或自动化构建部署中,便捷地生成和管理Helm图表文档。
挂载本地目录到容器中运行:
bashdocker run -ti --rm -v $(pwd):/apps -w /apps \ -v ~/.kube:/root/.kube -v ~/.helm-docs:/root/.helm-docs -v ~/.config/helm-docs:/root/.config/helm-docs \ -v ~/.cache/helm-docs:/root/.cache/helm-docs \ docker.xuanyuan.run/renaultdigital/helm-docs
使用特定版本的镜像(标签对应helm-docs版本):
bashdocker run -ti --rm -v $(pwd):/apps -w /apps \ -v ~/.kube:/root/.kube -v ~/.helm-docs:/root/.helm-docs -v ~/.config/helm-docs:/root/.config/helm-docs \ -v ~/.cache/helm-docs:/root/.cache/helm-docs \ docker.xuanyuan.run/renaultdigital/helm-docs:3.1.1
将容器作为本地命令使用:
bashalias helm-docs="docker run -ti --rm -v $(pwd):/apps -w /apps \ -v ~/.kube:/root/.kube -v ~/.helm-docs:/root/.helm-docs -v ~/.config/helm-docs:/root/.config/helm-docs \ -v ~/.cache/helm-docs:/root/.cache/helm-docs \ renaultdigital/helm-docs" helm-docs --help
bashalias helm-docs='docker run -e KUBECONFIG="/root/.kube/config:/root/.kube/some-other-context.yaml" -ti --rm -v $(pwd):/apps -w /apps \ -v ~/.kube:/root/.kube -v ~/.helm-docs:/root/.helm-docs -v ~/.config/helm-docs:/root/.config/helm-docs \ -v ~/.cache/helm-docs:/root/.cache/helm-docs \ renaultdigital/helm-docs'
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务