tools/scripts/transmission.sh

14 lines
553 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/transmission-daemon/{etc,watch,downloads} &&
chmod -Rf 777 /var/lib/docker/storage/transmission-daemon
docker run -d --name=transmission \
--restart=always \
-v /var/lib/docker/storage/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9091:9091 -p 51415:51413 \
-p 51413:51413/udp \
registry.casjay.in/latest/transmission:latest