Minimal, configurable Docker image for aria2 with persistent config/session, RPC support.
1.1K
Minimal, configurable Docker image for aria2 with persistent config/session, RPC support, and compatibility with multiple architectures (amd64/arm64).
./config/aria2.conf and change the rpc-secret password../config/aria2.session file and leave it empty../docker-compose.yml to set the download path..
├── config
│ ├── aria2.conf
│ └── aria2.session
├── docker-compose.yml
└── downloads
#./config/aria2.conf
# Download directory
dir=/downloads
# Session settings
input-file=/config/aria2.session
save-session=/config/aria2.session
save-session-interval=60
# Continue downloads
continue=true
# RPC settings
enable-rpc=true
rpc-listen-all=true
rpc-allow-origin-all=true
rpc-secret=YOUR_SECRET_HERE
# Other useful options
max-concurrent-downloads=1
max-connection-per-server=5
split=5
services:
aria2:
image: mfa777/my-aria2:latest
container_name: aria2
restart: unless-stopped
ports:
- "6800:6800"
volumes:
- ./config:/config
- ./downloads:/downloads
environment:
- TZ=UTC
logging:
options:
max-size: 1m
sudo docker compose up -d
When using an RPC client (like AriaNg), connect to:
http://<your_host_ip>:6800/jsonrpc
Use your rpc-secret as the token.
Content type
Image
Digest
sha256:f3764f15a…
Size
9.3 MB
Last updated
over 1 year ago
docker pull mfa777/my-aria2