qBittorrent is a safe torrent client. The qBittorrent project aims to provide an open-source software alternative to µTorrent. Since its release, qBittorrent has received numerous feedback and positive reviews as being reliable and very lightweight software. In this step by step guide I will show you how to install qBittorrent on your Synology NAS using Docker.
qBittorrent v4.6.2 release.This guide works perfectly with the latest
Install Container Manager via Synology “Package Center”. If you run an older DSM version (under 7.2), search for Docker instead of Container Manager.
Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it qbittorrent. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
Now create five new folders inside the qbittorrent folder that you have previously created at STEP 3 and name them config and downloads. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.
Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.
Once you click on User-defined script a new window will open. Follow the instructions below:
- General: In the Task field type in Install qBittorrent. Uncheck “Enabled” option. Select root User.
- Schedule: Select Run on the following date then select “Do not repeat“.
- Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run -d --name=qbittorrent \ -p 6881:6881 \ -p 6881:6881/udp \ -p 9865:9865 \ -e WEBUI_PORT=9865 \ -e PUID=1026 \ -e PGID=100 \ -e TZ=Europe/Bucharest \ -v /volume1/docker/qbittorrent:/config \ -v /volume1/docker/qbittorrent/downloads:/downloads \ --tty=true \ --restart always \ ghcr.io/linuxserver/qbittorrent
Note: Before you paste the code above in the Run command area below, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Run command area below, change the value for TZ (Select your current Time Zone from this list).
After you click OK on STEP 6 a new warning pop up window will open. Click OK.
After you click OK, type in your DSM Password then click Submit. Follow the instructions in the image below.
After you click Submit on STEP 7, select your “Install qBittorrent” Task then click the “Run” tab. You will be asked to run Install qBittorrent – click OK. Follow the instructions in the image below.
Open Container Manager. On the left sidebar in Container Manager, click Container. Identify your qBittorrent instance, then click the Details tab. Follow the instructions in the image below.
Click the Log tab, then Export and HTML. Follow the instructions in the image below.
A new browser window will open. Copy the temporary password. Follow the instructions in the image below.
Go back to STEP 1 or you will deal with karma 🙂
Now open your browser and type in http://Synology-ip-address:9865 Type in the default Username that is admin and the temporary password that you have previously copied at STEP 11. Click Login. Follow the instructions in the image below.
Change the default username and the temporary password with your own credentials. Click the settings icon. Click the Web UI tab. In the Authentication area, type in your own Username and Password, then scroll down the window until you find the Save button. Follow the instructions in the image below.
Click the Save button to Save the settings. Follow the instructions in the image below. From now on you will connect to the qBittorrent instance with your own Username and Password that you have previously created at STEP 14.
You can start downloading something!
If you encounter issues by using this container, make sure to check out the Common Docker issues article.
Warning: Remember to uninstall Synology Download Station package or qBittorrent won’t be able to download anything because Synology Download Station is using the same port as qBittorrent 6881.
Warning: Your qBittorrent container run in bridge network mode. If you experience connections problems remember to set your Synology Firewall in Control Panel / Security / Firewall / Edit Rules and allow IP-Ranges 172.17.0.0/16 – Take a look at “RULE 6” in my Firewall article .
Note: Install qBittorrent with VueTorrent Web UI.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: You can use qBittorrent together with Flood for a better user experience.
Note: Find out how to update qBittorrent container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.
This post was updated on Wednesday / November 29th, 2023 at 8:08 PM