
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
本仓库包含StaPH-B(州公共卫生实验室生物信息学)联盟成员使用的各类程序的Docker镜像构建所需的Dockerfile及其他相关文件。其核心目的是提供一个集中化的Docker镜像资源库,方便用户访问,并提供清晰的文档说明容器的构建过程和使用方法。
staphb镜像无拉取次数限制。StaPH-B镜像同时托管于以下两个平台,并定期同步:
2020年11月起,Dockerhub对镜像拉取实施限流(如***用户每6小时100次拉取)。StaPH-B已通过Docker“开源计划”认证,所有staphb镜像不受拉取限制。若遇到类似ERROR: toomanyrequests的限流错误,请通过https://github.com/StaPH-B/docker-builds/issues%E5%8F%8D%E9%A6%88%E3%80%82
拉取镜像
从Dockerhub拉取镜像:
bashdocker pull staphb/<镜像名>:<版本标签> # 示例:拉取ABRicate 1.0.0版本 docker pull staphb/abricate:1.0.0
从Quay.io拉取镜像:
bashdocker pull quay.io/staphb/<镜像名>:<版本标签>
运行容器
以ABRicate为例,运行容器并挂载本地数据目录:
bashdocker run --rm -v /本地数据目录:/data staphb/abricate:1.0.0 abricate /data/input.fasta
大部分Docker镜像可直接转换为Singularity格式。具体步骤参考https://staph-b.github.io/docker-builds/%EF%BC%8C%E5%9F%BA%E6%9C%AC%E6%B5%81%E7%A8%8B%E5%A6%82%E4%B8%8B%EF%BC%9A
bash# 从Dockerhub下载并转换为Singularity镜像 singularity pull docker://staphb/<镜像名>:<版本标签> # 运行Singularity容器 singularity run <镜像名>_<版本标签>.sif <命令>
| 软件 | 版本 | 项目链接 |
|---|---|---|
| https://hub.docker.com/r/staphb/abricate/ | - 0.8.7 - 0.8.13 - 0.8.13s (+serotypefinder db) - 0.9.8 - 1.0.0 | https://github.com/tseemann/abricate |
| https://hub.docker.com/r/staphb/any2fasta/ | - 0.4.2 | https://github.com/tseemann/any2fasta |
| https://hub.docker.com/r/staphb/ariba/ | - 2.14.4 | https://github.com/sanger-pathogens/ariba |
| https://hub.docker.com/r/staphb/artic-ncov2019 | - 1.3.0 | https://github.com/artic-network/fieldbioinformatics |
| https://hub.docker.com/r/staphb/artic-ncov2019-medaka | - 1.1.0 | https://github.com/artic-network/artic-ncov2019 |
| https://hub.docker.com/r/staphb/artic-ncov2019-nanopolish | - 1.1.0 | https://github.com/artic-network/artic-ncov2019 |
| https://github.com/nextstrain/augur | - 6.3.0 - 7.0.2 - 8.0.0 - 9.0.0 | https://github.com/nextstrain/augur |
| https://github.com/nextstrain/auspice | - 2.12.0 | https://github.com/nextstrain/auspice |
| https://hub.docker.com/r/staphb/bbtools/ | - 38.76 - 38.86 | [***] |
| https://hub.docker.com/r/staphb/bcftools/ | - 1.10.2 - 1.11 - 1.12 - 1.13 - 1.14 | https://github.com/samtools/bcftools |
| https://hub.docker.com/r/staphb/bedtools/ | - 2.29.2 - 2.30.0 | [***] https://github.com/arq5x/bedtools2 |
| https://hub.docker.com/r/staphb/ncbi-amrfinderplus | - 3.1.1b - 3.8.4 - 3.8.28 - 3.9.3 - 3.9.8 - 3.10.1 - 3.10.5 - 3.10.16 - 3.10.20 | https://github.com/ncbi/amr |
| https://hub.docker.com/r/staphb/pangolin !https://github.com/StaPH-B/docker-builds/actions/workflows/pangolin.yml/badge.svg | Pangolin版本 & pangoLEARN数据发布日期 - 1.1.14 - 2.0.4 & 2020-07-20 - 2.0.5 & 2020-07-20 - 2.1.1 & 2020-12-17 - 2.1.3 & 2020-12-17 - 2.1.6 & 2021-01-06 - 2.1.7 & 2021-01-11 - 2.1.7 & 2021-01-20 - 2.1.8 & 2021-01-22 - 2.1.10 & 2021-02-01 - 2.1.11 & 2021-02-01 - 2.1.11 & 2021-02-05 - 2.2.1 & 2021-02-06 - 2.2.2 & 2021-02-06 - 2.2.2 & 2021-02-11 - 2.2.2 & 2021-02-12 - 2.3.0 & 2021-02-12 - 2.3.0 & 2021-02-18 - 2.3.0 & 2021-02-21 - 2.3.2 & 2021-02-21 - 2.3.3 & 2021-03-16 - 2.3.4 & 2021-03-16 - 2.3.5 & 2021-03-16 - 2.3.6 & 2021-03-16 - 2.3.6 & 2021-03-29 - 2.3.8 & 2021-04-01 - 2.3.8 & 2021-04-14 - 2.3.8 & 2021-04-21 - 2.3.8 & 2021-04-23 - 2.4 & 2021-04-28 - 2.4.1 & 2021-04-28 - 2.4.2 & 2021-04-28 - 2.4.2 & 2021-05-10 - 2.4.2 & 2021-05-11 - 2.4.2 & 2021-05-19 - 3.0.5 & 2021-06-05 - 3.1.3 & 2021-06-15 - 3.1.5 & 2021-06-15 - 3.1.5 & 2021-07-07-2 - 3.1.7 & 2021-07-09 - 3.1.8 & 2021-07-28 - 3.1.10 & 2021-07-28 - 3.1.11 & 2021-08-09 - 3.1.11 & 2021-08-24 - 3.1.11 & 2021-09-17 - 3.1.14 & 2021-09-28 - 3.1.14 & 2021-10-13 - 3.1.16 & 2021-10-18 - 3.1.16 & 2021-11-04 - 3.1.16 & 2021-11-09 - 3.1.16 & 2021-11-18 - 3.1.16 & 2021-11-25 - 3.1.17 & 2021-11-25 - 3.1.17 & 2021-12-06 - 3.1.17 & 2022-01-05 | https://github.com/cov***ges/pangolin https://github.com/cov***ges/pangoLEARN |
若需贡献新镜像或改进现有镜像,请按以下步骤操作:
贡献详情参见https://staph-b.github.io/docker-builds/contribute/%E3%80%82
使用中遇到问题(如镜像不兼容Singularity、拉取错误等),请通过https://github.com/StaPH-B/docker-builds/issues%E6%8F%90%E4%BA%A4%E5%8F%8D%E9%A6%88%E3%80%82
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务