
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Doge / Nut server set up using lsiobase/alpine.python3:3.8. If you're familiar with linuxserver.io images this is for you. https://github.com/wowsuchdoge/doge/ https://github.com/blawar/nut
First make a /doge folder you are going to mount to.
Make a /nut folder inside of doge.
Make a /conf folder inside of nut, so that you have /doge/nut/conf/ directories.
Copy your keys.txt file into /doge/nut/conf/
Copy your configured doge.config.json file into the /doge
Map your volumes with the docker create script.
docker create --name DogeServer -v </path/to/doge/doge.config.json:/doge/doge.config.json -v </path/to/doge/data>:/doge/data -v </path/to/nsp>:/nsp -v </path/to/doge/nut/conf>:/doge/nut/conf -v </path/to/doge/nut/conf/keys.txt>:/doge/nut/keys.txt -v </path/to/doge/nut/titledb>:/doge/nut/titledb -v </path/to/doge/nut/switch>:/doge/nut/switch -v </path/to/titles>:/doge/nut/titles -e PGID=1000 -e PUID=1000 -p 6093:6093 -p 9000:9000 jojojoseph/dogeserver
If you need to get into the container and perform commands you can do so with
docker exec -it DogeServer /bin/bash
The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 [***] would show you what's running INSIDE the container on port 80.
Parameter Function -p 6093 doge port -p 9000 nut port -e PUID for UserID, see below for explanation -e GUID for GroupID, see below for explanation
User / Group Identifiers Sometimes when using volumes (-v flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.
Ensure any volume directories on the host are owned by the same user you specify and it will "just work" ™.
In this instance PUID=1001 and PGID=1001, to find yours use id user as below:
$ id uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
Setting up the application Doge access at :6093. Nut access at :9000.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务