Docker image for Aria2 RPC daemon based on the super lightweight Alpine Linux.
Docker image: ndthuan/aria2-alpine
Example:
docker run --rm -p 6800:6800 --name aria2 -d \
-e RPC_SECRET=xxx \
-v $HOME/Downloads:/downloads \
ndthuan/aria2-alpineFirst, you might want to check out the comprehensive aria2 configuration docs along with checking env vars supported by this image:
DOWNLOAD_DIR: maps to aria2's --dir config, where inside the container to put your downloads (default:/downloads). You'd rather mount downloads directory on your host to/downloadsthan changing this default value.CONCURRENT_DOWNLOADS: maps to aria2's --max-concurrent-downloads, number of concurrent downloads, default:4.CONNECTIONS_PER_SERVER: maps to aria2 --max-connection-per-server, this affects theSPLITconfig down below, default:4.SPLIT: maps to aria2's --split, maximum number of active connections when downloading a file, default:4.USER_AGENT: maps to aria2's --user-agent, user agent for HTTP(S) downloads, default: empty.FILE_ALLOCATION: file allocation method, read --file-allocation explanation here default:none.ALLOW_OVERWRITE: maps to aria2's --allow-overwrite, default:true.AUTO_FILE_RENAMING: maps to aria2's --auto-file-renaming, default:false.RPC_SECRET: maps to aria2's --rpc-secret.