
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
| Environment | Version |
|---|---|
| Debian | 13.4 |
| Roon | latest |
| libicu76 | 76.1-4 |
| cifs-utils | 7.4-1 |
| ffmpeg | 7.0.2 |
:
shellversion: "3.7" services: roon: image: gz1903/roonserver:latest container_name: roonserver network_mode: host privileged: true environment: TZ: "Asia/Shanghai" volumes: - roon-app:/app - roon-data:/data - roon-music:/music - roon-backups:/backup restart: always volumes: roon-app: roon-data: roon-music: roon-backups:
Systemd
If you deploy on a host with systemd, you should use a systemd service to start the Roon service.
Example systemd service (adapt to your environment):
shell[Unit] Description=Roon After=docker.service Requires=docker.service [Service] TimeoutStartSec=0 TimeoutStopSec=180 ExecStartPre=-/usr/bin/docker kill %n ExecStartPre=-/usr/bin/docker rm -f %n ExecStartPre=/usr/bin/docker pull gz1903/roonserver:latest ExecStart=/usr/bin/docker \ run --name %n \ --net=host \ -e TZ="Asia/Shanghai" \ -v roon-app:/app \ -v roon-data:/data \ -v roon-music:/music \ -v roon-backups:/backup \ gz1903/roonserver:latest ExecStop=/usr/bin/docker stop %n Restart=always RestartSec=10s [Install] WantedBy=multi-user.target
Network shares
If you find yourself in trouble using remote SMB/CIFS shares, you probably need some additional privileges on the container. You have two options here :
Run the Roon container in privileged mode
bash# standalone or from systemd service: docker run --privileged --name roonserver ... # docker-compose.yaml (inside service section): privileged: true
Run the Roon container with the right privileges. Some of these are docker-related, but depending on your host distribution and security settings you may need additional privileges.
bash# standalone or from systemd service: docker run --cap-add SYS_ADMIN --cap-add DAC_READ_SEARCH --security-opt apparmor:unconfined ... # docker-compose.yaml (inside service section): cap_add: - SYS_ADMIN - DAC_READ_SEARCH security_opt: - apparmor:unconfined
Network issues
If your docker host has multiple networks attached and your core has trouble finding audio sinks/endpoints, you can try using a specific docker network setup as described in issue #1:
bashdocker network create -d macvlan \ --subnet 192.168.1.0/24 --gateway 192.168.1.1 \ --ip-range 192.168.1.240/28 -o parent=enp4s0 roon-lan docker run --network roon-lan --name roonserver ...
Use the subnet and corresponding gateway that your audio sinks/endpoints are connected to. Use an ip-range for docker that is not conflicting with other devices on your network and outside of the DHCP range on that subnet if applicable.
If you love music, you want it to sound as big and lifelike as possible. Roon’s audio engine is designed to audiophile standards, and gives you the best performance while still being easy to use.





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