My previous guide for qBittorrent involved the use of Task Scheduler. Today I’m offering a recommended and excellent alternative for installing the latest qBittorrent version via Portainer. 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 & Portainer.
qBittorrent v4.6.2 release.This guide works perfectly with the latest
Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
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 two 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.
Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.
In the Name field type in qbittorrent. Follow the instructions in the image below.
version: "3.9" services: qbittorrent: container_name: qBittorrent image: ghcr.io/linuxserver/qbittorrent healthcheck: test: curl -f http://localhost:9865/ || exit 1 mem_limit: 6g cpu_shares: 768 security_opt: - no-new-privileges:true network_mode: host tty: true restart: on-failure:5 ports: - 6881:6881 - 6881:6881/udp - 9865:9865 volumes: - /volume1/docker/qbittorrent:/config:rw - /volume1/docker/qbittorrent/downloads:/downloads:rw environment: WEBUI_PORT: 9865 PUID: 1026 PGID: 100 TZ: Europe/Bucharest
Note: Before you paste the code above in the Web editor 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.) 1026 is my personal UID value and 100 is my personal GID value. You have to type in your own values.
Note: Before you paste the code above in the Web editor area below, change the value for TZ (Select your current Time Zone from this list).
Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
If everything goes right, you will see the following message at the top right of your screen: “Success Stack successfully deployed“.
On the left sidebar in Portainer, click Containers. Identify your qBittorrent instance, then click on the little log icon. Follow the instructions in the image below.
Copy your own 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 10. 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 13.
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 6:05 PM