In this guide I will take you through the steps required to get ruTorrent up and running on your Synology NAS, I will be making some assumptions that you know your way around the DSM interface but if you any specific questions let me know in the comments.
Downloading the Container
In the majority of my guides I use the containers made by Linux|Server, these have very good documentation and are very well maintained so should any issues arise there is a group of people to ask, plus these work really well on Synology.
Open up Docker within DSM and navigate to the ‘Registry’ section and search for ruTorrent in the keyword box. Right click and download the Linux|Server version. When it asks which version number you want to use just choose latest this will ensure the container updates to new versions when they are released.
PUID and PGID
In order for the docker container to access the shares on the NAS we need to give it the same permissions as a user who has access to those shares, we achieve this by associating the correct Personal User ID and Personal Group ID to the container.
You will need to SSH into your Diskstation using ‘Putty’ or an equivalent program.
Open up Putty, the only thing you need to enter is the IP address of your NAS and select the SSH radio button.
Click on open, you will get a prompt asking if you trust the key, if this is the first time you have used SSH, just press OK or accept.
Enter the login information for you Synology user account, you will not be able to see the password as you type it, I use a very long one so I just paste it in from my password manager. (right click acts as paste in putty)
Once logged in type ‘id’ without the quotes and this will show your UID(aka PUID) which in my case is 1026 and the GID(aka PGID) which is 101 for an administrator
Setting up the Container
Back in the ‘Image’ menu highlight the ruTorrent container and click on Launch. This will open up the setup wizard.
On the first screen I am not making any changes as I do not need to limit the resources on my 1815+ as I have 6GB of RAM, just go straight into ‘Advanced Settings’.
Tick the ‘Enable Auto Restart’ this will ensure the container starts up automatically if you reboot.
On the ‘Volume’ tab you need to add the paths to where you want to keep the config files and where you want all your downloads to take place.
I would recommend creating a ruTorrent folder within the main Docker directory the same goes for any of my other guides this means you can store all the config files outsite of the container, meaning you have easy access to modify and backup, this will save you a ton of time if you ever have to start from fresh. See the image below for the setup.
Next we move to the Port Settings tab, this is where you need to configure the various ports required by ruTorrent to both function correctly and allow you to access the web interface. There a quite a few ports used for Torrents for this tutorial with are leaving everything on Auto with the exception of port 80 which is used for the webUI,you must give this an alternative port number in this case I used 49999.
Last up is the Environment Variables, this is where we enter the details obtained earlier for our PGID and PUID values, all you need to do is enter the details as shown in the screenshot below, this will ensure you have full access to the shares we added earlier.
Now just click OK and you will be back at the first screen we saw, then click next to see a summary of your setup. You are now ready to roll and can start the container. On first startup it may take a minute of so for everything to setup you can see the status in the logs, you can then access the ruTorrent WebUI via the NAS IP and port you entered earlier.