blob: 42baa53115b8b74f09441a741271c4326dddf219 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
## Setup
Both must use --in-pod=false so the torrent container can attach to the VPN container's network.
Downloads appear in /root/downloads on the host.
cd /root/mullvad-docker && podman compose --in-pod=false up -d
cd /root/mullvad-docker/torrent && podman compose --in-pod=false up -d
## Shell into container
podman exec -it torrent bash
## aria2p commands
# Add downloads
aria2p add "magnet:?xt=urn:btih:..."
aria2p add "https://example.com/file.zip"
aria2p add /path/to/file.torrent
# Monitor
aria2p show # list all downloads
aria2p top # live TUI
# Control
aria2p pause <GID> # pause one
aria2p resume <GID> # resume one
aria2p remove <GID> # remove one
aria2p pause-all
aria2p resume-all
# Cleanup
aria2p purge # clear completed/errored from list
GID is the hex ID from aria2p show.
|