DOCKER RUTORRENT SERVER
Here is a quick guide to making rutorrent docker image work.
CREATE DIRECTORIES
You will need a parent directory and two subdirectories - one config, and one download. We also need to chown them appropriately to the user that will own them.
#mkdir -P /path/to/rutorrent/config
#mkdir -P /path/to/rutorrent/downloads
#chmod 755 -R /path/to/rutorrent/
#chown username:group -R /path/to/rutorrent
CREATE LAUNCH SCRIPT
Here is my sample launch script. Note that the user in question has both the UID and GUID of 1000
#!/bin/bash
docker run -d --privileged \
--sig-proxy=false \
--name=rutorrent \
-v /storage/docker/rutorrent/config:/config \
-v /storage/docker/rutorrent/downloads:/downloads \
-e PGID=1000 -e PUID=1000 \
-e TZ=America/Chicago \
-p 80:80 -p 5000:5000 \
-p 51413:51413 -p 6881:6881/udp \
linuxserver/rutorrent
RUNNING AND STOPPING RUTORRENT
-
STARTING FIRST TIME
run the launch script above
-
STOPPING
#docker stop rutorrent
-
STARTING AGAIN
#docker start rutorrent
-
UPDATING CONTAINER
#docker stop rutorrent #docker rm rutorrent #docker pull linuxserver/rutorrent #sh /path/to/launchscript