Docker安装Aria2 NG

aria2 NG 为Aria2 提供了更好的webUI,方便对下载进行管理

拉取镜像

docker pull colinwjd/aria2-ariang

创建目录

mkdir /home/aria2/conf
mkdir /home/aria2/downloads

aira2 端口情况如下
6800: aira2 服务
80: Aria-Ng web UI
8080: downloads directory http service

运行docker

docker run --name aria2-ariang \
-p 6800:6800 -p 6880:80 -p 6888:8080 \
-v /DOWNLOAD_DIR:/home/aria2/downloads \
-v /CONFIG_DIR:/home/aria2/conf \
-e SECRET=YOUR_SECRET_CODE colinwjd/aria2-ariang