
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
English | 中文
!GitHub Workflow Status
A perfect Aria2 Docker image. Out of the box, just add download tasks and don't need to think about anything else.
amd64, i386, arm64, arm/v7, arm/v6Async DNS, BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTPmax-connection-per-server unlimited.lowest-speed-limit) and connection close.aria2 suffix files.torrent suffix files<TOKEN> field ):docker run -d \ --name aria2-pro \ --restart unless-stopped \ --log-opt max-size=1m \ -e PUID=$UID \ -e PGID=$GID \ -e UMASK_SET=022 \ -e RPC_SECRET=<TOKEN> \ -e RPC_PORT=6800 \ -p 6800:6800 \ -e LISTEN_PORT=6888 \ -p 6888:6888 \ -p 6888:6888/udp \ -v $PWD/aria2-config:/config \ -v $PWD/aria2-downloads:/downloads \ p3terx/aria2-pro
docker run -d \ --name ariang \ --log-opt max-size=1m \ --restart unless-stopped \ -p 6880:6880 \ p3terx/ariang
TIPS: It is important for the firewall to open ports.
wget git.io/aria2-pro.yml
vim aria2-pro.yml
docker-compose -f aria2-pro.yml up -d
| Parameter | Function |
|---|---|
-e PUID=$UID-e PGID=$GID | Bind UID and GID to the container, which means you can use a non-root user to manage downloaded files. |
-e UMASK_SET=022 | For umask setting of Aria2, optional , default if left unset is 022 |
-e RPC_SECRET=<TOKEN> | Set RPC secret authorization token. Default: P3TERX |
-e RPC_PORT=6800 | Set RPC listen port. |
-p 6800:6800 | bind RPC listen port. |
-e LISTEN_PORT=6888 | Set TCP/UDP port number for BitTorrent/DHT listen. |
-p 6888:6888 | Bind BT listen port (TCP). |
-p 6888:6888/udp | Bind DHT lisen port (UDP). |
-v <PATH>:/config | Contains all relevant configuration files. |
-v <PATH>:/downloads | Location of downloads on disk. |
-e DISK_CACHE=<SIZE> | Set up disk cache. SIZE can include K or M (1K = 1024, 1M = 1024K), e.g 64M. |
-e IPV6_MODE=<BOOLEAN> | Whether to enable IPv6 support for Aria2. Optional: true or false. Set the options disable-ipv6=false and enable-dht6=true in the configuration file(aria2.conf). |
-e UPDATE_TRACKERS=<BOOLEAN> | Whether to update BT Trackers List automatically. Optional: true or flase, default if left unset is true |
-e CUSTOM_TRACKER_URL=<URL> | Custom BT Trackers List URL. If not set, it will be get from [***] |
-e TZ=Asia/Shanghai | Specify a timezone to use e.g. Asia/Shanghai |
I am working hard on my English, so this part may be explained in detail later. If you can read Chinese, read the details in my blog.
https://github.com/P3TERX/Aria2-Pro-Docker/blob/master/LICENSE © P3TERX
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。






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