简介
snowdreamtech/aria2 ,开箱即用,Aria2 的 docker 镜像封装,支持 AriaNG 和 WebUI-Aria2 界面。
网站: https://github.com/snowdreamtech/aria2
基础镜像:alpine ,debian
支持架构:
alpine:linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x
debian:
linux/386,linux/amd64,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x
docker 镜像仓库:
https://github.com/snowdreamtech/aria2/pkgs/container/aria2
https://hub.docker.com/r/snowdreamtech/aria2
https://quay.io/repository/snowdreamtech/aria2
使用方法
默认情况下,RPC_SECRET 由容器自动生成。你可以在 docker 容器日志中查看 RPC_SECRET 。
你也可以通过环境变量将自定义RPC_SECRET 传进 docker 容器。
Aria2 Cli
docker run -d \
--name=aria2 \
-e TZ=Asia/Shanghai \
-p 6800:6800 \
-p 6881-6999:6881-6999 \
-v ./downloads:/var/lib/aria2/downloads \
--restart unless-stopped \
snowdreamtech/aria2:latest
# snowdreamtech/aria2:alpine
# snowdreamtech/aria2:debian
docker run -d \
--name=aria2 \
-e TZ=Asia/Shanghai \
-p 80:80 \
-p 443:443 \
-p 6800:6800 \
-p 6881-6999:6881-6999 \
-v ./downloads:/var/lib/aria2/downloads \
--restart unless-stopped \
snowdreamtech/aria2:ariang
# snowdreamtech/aria2:ariang-alpine
# snowdreamtech/aria2:ariang-debian
Aria2 With WebUI
docker run -d \
--name=aria2 \
-e TZ=Asia/Shanghai \
-p 80:80 \
-p 443:443 \
-p 6800:6800 \
-p 6881-6999:6881-6999 \
-v ./downloads:/var/lib/aria2/downloads \
--restart unless-stopped \
snowdreamtech/aria2:webui
# snowdreamtech/aria2:webui-alpine
# snowdreamtech/aria2:webui-debian
问题和建议
https://github.com/snowdreamtech/aria2/issues
|