
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
A repository for creating a docker container including rtorrent with rutorrent.
!docker pulls !docker stars  !docker size
You can invite me a beer if you want ;)
This is a completely funcional Docker image with rutorrent, rtorrent, libtorrent and a lot of plugins for rutorrent, like autodl-irssi, filemanager, fileshare and other useful ones.
Based on Alpine Linux, which provides a very small size.
Includes plugins: logoff fileshare filemanager pausewebui mobile ratiocolor force_save_session showip ...
Also installed and selected by default this awesome theme: club-QuickBox
Also includes MaterialDesign theme as an option.
You need to run pyrocore commands with user "abc", which is who runs rtorrent, so use "su - abc" after connecting container before using pyrocore commands. If you already have torrents in your rtorrent docker instance, you have to add extra information before using pyrocore, check here: [***] in the "Adding Missing Data to Your rTorrent Session" topic.
r*** is added, that will allow you to control your rtorrent instance from *** client.
Tested and working on Synology and QNAP, but should work on any x86_64 devices.
In order to change rutorrent web access password execute this inside container:
sh -c "echo -n 'admin:' > /config/nginx/.htpasswd"sh -c "libressl passwd -apr1 >> /config/nginx/.htpasswd"IMPORTANT
For rtorrent 0.9.8 version:
bashdocker run -d --name=rutorrent \ -v /share/Container/rutorrent/config:/config \ -v /share/Container/rutorrent/downloads:/downloads \ -e PGID=0 -e PUID=0 -e TZ=Europe/Madrid \ -p 9443:443 \ -p 51415-51415:51415-51415 \ romancin/rutorrent:latest
For rtorrent 0.9.7 version DEPRECATED:
bashdocker run -d --name=rutorrent \ -v /share/Container/rutorrent/config:/config \ -v /share/Container/rutorrent/downloads:/downloads \ -e PGID=0 -e PUID=0 -e TZ=Europe/Madrid \ -p 9443:443 \ -p 51415-51415:51415-51415 \ romancin/rutorrent:0.9.7
For rtorrent 0.9.6 version DEPRECATED:
bashdocker run -d --name=rutorrent \ -v /share/Container/rutorrent/config:/config \ -v /share/Container/rutorrent/downloads:/downloads \ -e PGID=0 -e PUID=0 -e TZ=Europe/Madrid \ -p 9443:443 \ -p 51415-51415:51415-51415 \ romancin/rutorrent:0.9.6
For rtorrent 0.9.4 version DEPRECATED:
bashdocker run -d --name=rutorrent \ -v /share/Container/rutorrent/config:/config \ -v /share/Container/rutorrent/downloads:/downloads \ -e PGID=0 -e PUID=0 -e TZ=Europe/Madrid \ -p 9443:443 \ -p 51415-51415:51415-51415 \ romancin/rutorrent:0.9.4
Remember editing /config/rtorrent/rtorrent.rc with your own settings, especially your watch subfolder configuration.
| Variable | Function |
|---|---|
-e PUID=1000 | for UserID - see below for explanation |
-e PGID=1000 | for GroupID - see below for explanation |
-e TZ=Europe/London | Specify a timezone to use EG Europe/London. |
-e CREATE_SUBDIR_BY_TRACKERS=YES | YES to create downloads/watch subfolder for trackers (OLD BEHAVIOUR) or NO to create only completed/watch folder (DEFAULT) |
-e SSL_ENABLED=YES | YES to enable SSL in nginx/flood or NO to not use it (DEFAULT) |
-e RT_TOKEN=your_bot_token | for your *** BOT Token - https://github.com/pyed/r***/wiki/Getting-started. If not used, r*** won't start on boot. |
-e RT_MASTERS=your_real_telegram_username | for your *** real username - https://github.com/pyed/r***/wiki/Getting-started. If not used, r*** won't start on boot. |
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 any permissions issues will vanish like magic.
In this instance PUID=1000 and PGID=1000, to find yours use id user as below:
$ id username uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
v6.0.0 (31/07/2021): Updated base image to Alpine 3.14 and applications to current versions�
v5.0.1 (07/11/2020): Disabled rar in filemanager plugin because it is not available in Alpine.
v5.0.0 (07/11/2020): Now old rtorrent versions are deprecated and the image updated to Alpine 3.12.
v4.2.0 (05/11/2020): Added *** plugin installation, changed XMLRCP-C repository to the mirror in Github and change Flood to currently most active fork. Fixed PluginCheckPort plugin. You will no longer see 'Bad response from server: (500 [error,initportcheck])' error message in ruTorrent.
v4.0.4 (04/07/2020): Update image to Alpine 3.11 and current packages
v4.0.3 (24/05/2020): Update image to current packages
v4.0.2 (31/03/2020): Corrected rutorrentMobile plugin installation (Thanks @jorritsmit!!)
v4.0.0 (16/03/2020): Added variable for optional SSL configuration.
v3.0.0 (13/03/2020): Updated to Alpine 3.11 (rtorrent 0.9.8 only). Changed to new maxmind database.
v2.2.1 (20/09/2019): Unified Dockerfile and Jenkinsfile for easier image code management
v2.2.0 (09/09/2019): Added https://github.com/pyed/r***. It allows to control rtorrent from ***.
v2.1.0 (10/08/2019): Fixed cloudflare plugin. New 0.9.7 branch. Master branch updated to rtorrent/libtorrent 0.9.8/0.13.8.
v2.0.1 (29/04/2019): Added GeoIP2 plugin.
v2.0 (28/04/2019): Updated image to rutorrent 3.9. For the first time, I have eliminated the creation of subfolder directories for trackers by default. Since this moment, you can choose to create them using CREATE_SUBDIR_BY_TRACKERS variable.
v1.0.1 (28/03/2019): curl 7.64.0 version has an issue that causes very high CPU usage in rtorrent. This version should fix this behaviour.
v1.0.0 (16/03/2019): NEW: rTorrent 0.9.7 / libtorrent 0.13.7 version. rtorrent.rc file has changed completely, rename it before starting with the new image the first time. After first run, add the changes you need to this config file.
vN/A: 05/08/2018: NEW: Includes Pyrocore/rtcontrol - [***]
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务