#qbittorrent
#快速启动
docker-compose.yml
---
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
network_mode: host
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
- WEBUI_PORT=8080
- TORRENTING_PORT=6881
volumes:
- ./config:/config
- ./downloads:/downloads
restart: unless-stopped#做种
做种
docker run -it --rm -v "$(pwd):/data" --entrypoint /bin/sh ghcr.io/autobrr/mkbrr:latest -c "
apk add --no-cache curl && \
TRACKERS=\$(curl -s https://cf.trackerslist.com/all.txt | grep -v '^$' | xargs -I {} echo -n '--tracker {} ') && \
mkbrr create --workers 4 --private=false \"/data/ktv-2.mkv\" --output \"/data/ktv-2.torrent\" \$TRACKERS
"查看种子信息
docker run --rm -v "$(pwd):/data" --entrypoint /bin/sh ghcr.io/autobrr/mkbrr:latest -c "mkbrr inspect /data/ktv-2.torrent"