
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
This config repository uses the TKW-X repo and creates a Restful FHIR Validator instance. The TKW Test Harness responds subscriber and publish requests configurably and will respond with happy path and negative replies dependent on the request subject's NHS Number. Details of specific NHS numbers to use are detailed in the FHIR NEMS Test Harness documentation. All requests are responded to and a copy is validated producing an HTML validation report which includes a HAPI FHIR Validation and business specific rules as defined in the [] FHIR Validation is performed by HAPI FHIR Validator v3.7.0 ([] but the base profile validation can be extended by use of a locally stored NHS Care Connect defined FHIR Profiles. It listens internally on port 4434. The image when executed creates an internal user "service" (user ID 1001) in order that it can write to volumes without using root. In the following examples the local system has "user1", but this should be replaced by local user's name.
The test harness can be executed in Mutual Authentication (TLSMA) mode or cleartext. If TLSMA is required a docker environment file is necessary e.g.:
trustStore=/home/service/certs/truststore.jks trustStorePassword=password keyStore=/home/service/certs/serverkeystore.jks keyStorePassword=password
and must be defined at execution e.g.
--env-file=/home/user1/nems_subscriber_env_file
and the volume where the certs are stored must be defined at execution e.g.:
'--mount type=***d,source=/home/user1/certs,target=/home/service/certs`
The image can write its output to local disk (in this example at /home/user1/OutputDir) . In order to do this the ACL permissions must be set to allow a user ID 1001 as follows:
setfacl -m u:1001:rwx /home/user1/OutputDir
and the volume where the output is to be written must be defined at execution e.g.:
'--mount type=bind,source=/home/user1/data,target=/home/service/data`
Locally stored FHIR profiles must be organised in the following directory structure:
/home/user1/ITKMessageDefinition/Profiles/CodeSystem /home/user1/ITKMessageDefinition/Profiles/StructureDefinition /home/user1/ITKMessageDefinition/Profiles/ValueSet
and the volume where the FHIR Profiles are to be read from must be defined at execution e.g.:
'--mount type=***d,source=/home/user1/ITKMessageDefinition,target=/home/service/fhir`
n.b. If no local profiles are to be used, the directory structure is still necessary
To execute in the clear with an output directory at: /home/user1/OutputDir a locally stored FHIR Profile set at: /home/user1/ITKMessageDefinition and listening externally on port 8080:
docker run -d -p 8080:4434 --mount type=bind,source=/home/user1/OutputDir,target=/home/service/data --mount type=bind,source=/home/user1/ITKMessageDefinition,target=/home/service/fhir --mount type=bind,source=/home/user1/certs,target=/home/service/certs nhsdigitalmait/nems_subscriber_config:tagname
To execute using TLSMA with an output directory at: /home/user1/OutputDir a locally stored FHIR Profile set at: /home/user1/ITKMessageDefinition and listening externally on port 4433:
docker run -d -p 4433:4434 --env-file=/home/user1/nems_subscriber_env_file --mount type=bind,source=/home/user1/OutputDir,target=/home/service/data --mount type=bind,source=/home/user1/ITKMessageDefinition,target=/home/service/fhir --mount type=bind,source=/home/user1/certs,target=/home/service/certs nhsdigitalmait/nems_subscriber_config:tagname
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务