返回排行榜

P3TERX/Aria2-Pro-Docker

Dockerfilehub.docker.com/r/p3terx/aria2-pro

Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像

aria2aria2cdockerdocker-imagedockerfiledocker-aria2magnetmagnet-linkbtbittorrentdownloaddownloader
Star 增长趋势
Star
3.7k
Forks
402
周增长
Issues
61
1k2k3k
2020年1月2022年3月2024年5月2026年7月
README

English | 中文

Aria2 Pro Docker

LICENSE GitHub Stars GitHub forks Docker Stars Docker Pulls 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.

Features

  • Supported platforms: amd64, i386, arm64, arm/v7, arm/v6
  • Full Function: Async DNS, BitTorrent, Firefox3 Cookie, GZip, HTTPS, Message Digest, Metalink, XML-RPC, SFTP
  • max-connection-per-server unlimited.
  • retry on slow speed (lowest-speed-limit) and connection close
  • High BT download rate and speed
  • Get BitTorrent tracker automatically
  • Download error automatically delete files
  • Download cancel automatically delete files
  • Automatically clear .aria2 suffix files
  • Automatically clear .torrent suffix files
  • No lost task progress, no repeated downloads
  • And more powerful features

Usage

Docker CLI

  • No matter what architecture platform is used, just use the following command to start the container ( Just need to replace the <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
  • Then you need a WebUI for control, such as AriaNg. This link is provided by the developer and can be used directly. Or use Docker to deploy it yourself:
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.

Docker Compose

wget git.io/aria2-pro.yml
  • Edit Compose file
vim aria2-pro.yml
  • Compose up
docker-compose -f aria2-pro.yml up -d

Other

Parameters

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 https://trackerslist.com/all_aria2.txt.
-e TZ=Asia/Shanghai Specify a timezone to use e.g. Asia/Shanghai

Advanced

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.

Credits

License

MIT © P3TERX

相关仓库
agalwood/Motrix

A full-featured download manager.

JavaScriptnpmMIT Licensemotrixaria2
motrix.app
52.3k4.9k
XIU2/TrackersListCollection

🎈 Updated daily! A list of popular BitTorrent Trackers! / 每天更新!全网热门 BT Tracker 列表!

GNU General Public License v3.0trackertrackers
trackerslist.com
31.8k1.8k
hmjz100/LinkSwift

一个基于 JavaScript 的网盘文件下载地址获取工具。基于【网盘直链下载助手】修改 ,支持 百度网盘 / 阿里云盘 / 中国移动云盘 / 天翼云盘 / 迅雷云盘 / 夸克网盘 / UC网盘 / 123云盘 八大网盘

JavaScriptnpmGNU Affero General Public License v3.0aliyun-drivebaidu
github.com/hmjz100/LinkSwift/raw/main/%EF%BC%88%E6%94%B9%EF%BC%89%E7%BD%91%E7%9B%98%E7%9B%B4%E9%93%BE%E4%B8%8B%E8%BD%BD%E5%8A%A9%E6%89%8B.user.js
18.3k1.1k
mayswind/AriaNg

AriaNg, a modern web frontend making aria2 easier to use.

JavaScriptnpmMIT Licensearia2web-frontend
ariang.mayswind.net
13.1k1.4k
DeSireFire/animeTrackerList

动漫磁性链接加速方案(animeTrackerList)

GNU General Public License v3.0bttracker
4.9k143
P3TERX/aria2.conf

Aria2 配置文件 | OneDrive & Google Drvive 离线下载 | 百度网盘转存

ShellMIT Licensearia2aria2-config
p3terx.com/archives/aria2_perfect_config.html
3.4k724
zmzhang8/Photon

A lightweight multi-threaded downloader based on aria2.

JavaScriptnpmApache License 2.0downloaderdownload
3k278
P3TERX/aria2.sh

Aria2 一键安装管理脚本 增强版

ShellMIT Licensearia2aria2-config
p3terx.com/archives/aria2-oneclick-installation-management-script.html
3k724
mayswind/AriaNg-Native

A better aria2 desktop frontend than AriaNg, with all features of AriaNg and providing more features for desktop usage.

JavaScriptnpmMIT Licensearia2download
ariang.mayswind.net
2.7k223
hsuyelin/nas-tools

NAS媒体库管理工具

PythonPyPIGNU Affero General Public License v3.0aria2emby
2.7k505
binux/yaaw

Yet Another Aria2 Webui in pure HTML/CSS/Javascirpt

JavaScriptnpmaria2javascript
binux.github.io/yaaw/demo/
2.4k402
opennaslab/kubespider

A global resource download orchestration system, build your home download center.

PythonPyPIApache License 2.0downloadnas
kubespider.netlify.app
2.2k121