如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
该镜像运行One Identity Manager Database Agent实例,启动时会下载必要文件。其行为可通过机密值和环境变量控制。
所有标记为windows-amd64的镜像与Windows Server主机兼容。请使用以下列表检查每个标记支持的Windows Server版本。
所有标记为linux-amd64的镜像与Linux操作系统主机兼容。
latest、9.3、9.2、9.1、9.0、8.2、windows-amd64-9.3-windowsservercore-ltsc2022、windows-amd64-9.2-windowsservercore-ltsc2022、windows-amd64-9.1-windowsservercore-ltsc2022、windows-amd64-9.0-windowsservercore-ltsc2022、windows-amd64-8.2-windowsservercore-ltsc2022、windows-amd64-latest-windowsservercore-ltsc2022latest、9.3、9.2、9.1、9.0、8.2、windows-amd64-9.3-windowsservercore-ltsc2019、windows-amd64-9.2-windowsservercore-ltsc2019、windows-amd64-9.1-windowsservercore-ltsc2019、windows-amd64-9.0-windowsservercore-ltsc2019、windows-amd64-8.2-windowsservercore-ltsc2019、windows-amd64-latest-windowsservercore-ltsc20199.2、9.1、9.0、8.2、windows-amd64-9.2-windowsservercore-ltsc2016、windows-amd64-9.1-windowsservercore-ltsc2016、windows-amd64-9.0-windowsservercore-ltsc2016、windows-amd64-8.2-windowsservercore-ltsc2016latest、9.3、9.2、9.1、9.0、8.2、linux-amd64-9.3、linux-amd64-9.2、linux-amd64-9.1、linux-amd64-9.0、linux-amd64-8.2、linux-amd64-latestCONNSTRING
用于连接MS SQL数据库的连接字符串。这是必填参数。
示例连接字符串:
connectionstringData Source=[服务器];Initial Catalog=[数据库];User ID=[用户];Password=[密码]
此值也可通过机密文件夹中的文件提供。
APPINSIGHTS_KEY
用于AppInsights日志记录的密钥。如果未设置,则不会向AppInsights记录日志。
APPINSIGHTS_LOGLEVEL
用于AppInsights日志记录的日志级别。默认值:Info
LOG_TENANT
与发送到AppInsights的每条日志消息关联的租户ID。
CONSOLE_LOGLEVEL
用于控制台日志记录的日志级别。默认值:Info
Windows和Linux镜像的卷挂载点不同。请根据使用的镜像类型指定卷挂载点。
secrets
C:/ProgramData/Docker/secrets/run/secrets该目录可包含以下设置文件,文件内容为其值:CONNSTRING。
此挂载点应设置为只读挂载。
针对Microsoft SQL Server数据库运行Database Agent:
powershelldocker run -it --rm -e "CONNSTRING=Data Source=[服务器];Initial Catalog=[数据库];User ID=[用户];Password=[密码]" oneidentity/oneim-dbagent:latest
在后台运行容器并从机密文件夹中的条目获取参数:
powershelldocker run -d -v C:/Path/To/secrets:C:/ProgramData/Docker/secrets:ro oneidentity/oneim-dbagent:latest
机密文件夹结构如下:
secrets └── CONNSTRING
针对Microsoft SQL Server数据库运行Database Agent:
shdocker run -it --rm -e "CONNSTRING=Data Source=[服务器];Initial Catalog=[数据库];User ID=[用户];Password=[密码]" oneidentity/oneim-dbagent:latest
在后台运行容器并从机密文件夹中的条目获取参数:
shdocker run -d -v $PWD/secrets:/run/secrets:ro oneidentity/oneim-dbagent:latest
机密文件夹结构如下:
secrets └── CONNSTRING
One Identity Manager 产品信息
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

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