
如果你使用 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/_/neurodebian 的 i386 架构专用仓库。有关更多信息,请参见官方镜像文档中的 https://github.com/docker-library/official-images#architectures-other-than-amd64 和官方镜像 FAQ 中的 https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what%E3%80%82
NeuroDebian 为 Debian、Ubuntu 及其他衍生系统提供大量神经科学研究软件,包括 AFNI、FSL、PyMVPA 等热门工具。本镜像基于 Debian 系统构建,预配置了 NeuroDebian 软件仓库及 GPG 密钥,便于快速部署神经科学研究环境。
-nonfree 标签版本,包含非 DFSG 合规的软件(可能有使用限制或缺少源代码)。apt-get update 后使用。bookworm)、NeuroDebian 版本标识(如 nd120)及 latest 等标签,便于版本管理。| 标签 | 对应的 Dockerfile 链接 |
|---|---|
bullseye, nd110 | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/bullseye/Dockerfile |
bullseye-non-free, nd110-non-free | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/bullseye-non-free/Dockerfile |
bookworm, nd120 | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/bookworm/Dockerfile |
bookworm-non-free, nd120-non-free | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/bookworm-non-free/Dockerfile |
trixie, nd130, latest | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/trixie/Dockerfile |
trixie-non-free, nd130-non-free, non-free | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/trixie-non-free/Dockerfile |
forky, nd140 | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/forky/Dockerfile |
forky-non-free, nd140-non-free | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/forky-non-free/Dockerfile |
sid, nd | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/sid/Dockerfile |
sid-non-free, nd-non-free | https://github.com/neurodebian/dockerfiles/blob/763e5953e63f2e0f46d2304dfd6c2f051ca378ca/dockerfiles/sid-non-free/Dockerfile |
docker run)1. 拉取镜像
bashdocker pull docker.xuanyuan.run/i386/neurodebian:latest # 拉取最新稳定版(trixie) # 或指定版本,如 bookworm docker pull docker.xuanyuan.run/i386/neurodebian:bookworm
2. 运行交互式容器
启动容器并进入交互式 shell,用于手动操作或安装软件:
bashdocker run -it --rm docker.xuanyuan.run/i386/neurodebian:latest bash
注意:首次使用需先更新 apt 索引:
bashapt-get update # 更新软件包索引
3. 安装神经科学软件示例
在容器内安装 AFNI(需先执行 apt-get update):
bashapt-get install -y afni # 安装 AFNI 软件包
创建 docker-compose.yml 文件,定义包含 NeuroDebian 镜像的服务:
yamlversion: '3' services: neurodebian: image: docker.xuanyuan.run/i386/neurodebian:bookworm container_name: neurodebian-demo tty: true # 保持容器运行 command: bash # 启动 bash shell volumes: - ./data:/data # 挂载本地数据目录到容器
启动服务:
bashdocker-compose up -d
进入容器:
bashdocker-compose exec neurodebian bash
镜像已预设 NeuroDebian 仓库,配置文件路径:
/etc/apt/sources.list.d/neurodebian.sources.list
默认内容(以 wheezy 为例):
consoledeb http://neuro.debian.net/debian wheezy main deb http://neuro.debian.net/debian data main #deb-src http://neuro.debian.net/debian-devel wheezy main
实际内容因镜像标签对应的 Debian 版本而异(如
bookworm、trixie等)。
镜像继承自 Debian 基础镜像,支持常见环境变量(如 DEBIAN_FRONTEND=noninteractive 用于非交互式安装):
bashdocker run -it --rm -e DEBIAN_FRONTEND=noninteractive docker.xuanyuan.run/i386/neurodebian:latest bash -c "apt-get update && apt-get install -y fsl"
镜像中包含的软件许可信息请参见 https://www.debian.org/social_contract#guidelines%E3%80%82
-nonfree 版本注意事项-nonfree 标签的镜像包含非 DFSG(Debian 自由软件指南)合规的软件,可能存在使用限制(如非商业用途)或缺少原始源代码。使用前请确保符合相关软件的许可协议。
镜像可能包含基础系统(如 Bash)及依赖软件,其许可可能不同。部分自动检测的许可信息可在 https://github.com/docker-library/repo-info/tree/master/repos/neurodebian 中查看。
用户责任:使用前需确保遵守镜像中所有软件的许可协议。
https://github.com/neurodebian/dockerfiles
amd64:https://hub.docker.com/r/amd64/neurodebian/arm64v8:https://hub.docker.com/r/arm64v8/neurodebian/i386:https://hub.docker.com/r/i386/neurodebian/%EF%BC%88%E5%BD%93%E5%89%8D%E4%BB%93%E5%BA%93%EF%BC%89提交 issue 至 https://github.com/neurodebian/dockerfiles/issues
本描述基于 https://github.com/docker-library/docs/tree/master/neurodebian%EF%BC%88%E5%90%AB%E6%9B%B4%E6%96%B0%E5%8E%86%E5%8F%B2%EF%BC%89%E3%80%82
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务