dockerfile:https://github.com/cza1993/docker/blob/master/aria2/dockerfile expose 80 6800 rpc授权密钥 rpc-secret=asd123456
设置webui-aria2默认设置.不修改默认配置的话每次连接需要手动配置 1).通过伪终端进入容器 2).vi /var/www/html/configuration.js 7 host: location.protocol.startsWith('http') ? location.hostname : 'localhost', #‘localhost’中改为宿主机ip 9 port: 6800, #port改为6800映射出来的端口 12 // token: '$YOUR_SECRET_TOKEN$' #去掉注释,改为token:'asd123456'
访问: webui-aria2 http://ip+port ip是宿主机ip,port是80映射出来的端口号 下载目录 http://ip+port/downloads
Content type
Image
Digest
Size
105.2 MB
Last updated
almost 9 years ago
docker pull cza1993/aria2