【笔记】通过Docker部署Aria2
前言
通过Docker部署Aria2,实现离线下载 本篇只介绍Aria2核心的部署方法,如需使用操作可以尝试通过Docker部署AriaNg A perfect Aria2 Docker image. Out of the box, just add download tasks and don't need to think about anything else.(Github)
通过Docker部署
<secret>
:API访问时的密钥,可以随便指定/root/Aria2Pro/config
:配置文件目录/root/Aria2Pro/Downloads
:下载文件存放目录
1 | docker run -d --name aria2-pro --log-opt max-size=1m -v /root/Aria2Pro/config:/config -v /root/Aria2Pro/Downloads:/downloads -e RPC_SECRET=<secret> -e RPC_PORT=6800 -e LISTEN_PORT=6888 -e IPV6_MODE=true p3terx/aria2-pro |