How to Install NAS Version Thunder in Docker Environment

docker nas thundernas thunderbird dockerdocker compose thunderthunder nas installationomv download manager
Published·Modified·

Recently, I encountered an ed2k resource link that none of the existing download tools on my PC supported, so I thought of using Thunder. However, I didn't want to install Thunder on my PC. I vaguely remembered that a netizen had installed Thunder on their Synology system, so I decided to try researching whether it could be installed in Docker. A quick search confirmed that it is indeed possible.

About the NAS Version of Thunder

Thunder has supported NAS installation for some time, but according to the official website, it only supports mainstream NAS devices like "Synology/QNAP" and requires an internal test invitation. It does not directly support Docker installation. For details, see the official website: https://nas.xunlei.com/

f8e9292d1442f7d7.png

However, some experts have ported the NAS version of Thunder to Docker, allowing installation via a Docker container.

Installing NAS Version Thunder via Docker

The command to install the NAS version of Thunder via Docker is as follows:

docker run -d \
 --name=xunlei \
 --hostname=mynas \
 --net=host \
 -v /mnt/sdb1/xunlei:/xunlei/data \
 -v /mnt/sdb1/downloads:/xunlei/downloads \
 --restart=unless-stopped \
 --privileged \
 cnk3x/xunlei:latest
  • hostname: Hostname (device name)
  • /mnt/sdb1/xunlei: Path to save Thunder configuration, please modify according to your situation
  • /mnt/sdb1/downloads: Path to save downloaded files, please modify according to your situation
  • latest: Version number. As of now, the latest version of the Docker image is 3.7.1. If you find that the version is not the latest after using latest, it is recommended to manually modify the version number.

Using Docker Compose for Installation

services:
  xunlei:
    image: cnk3x/xunlei:latest
    privileged: true
    container_name: xunlei
    hostname: mynas
    network_mode: host
    volumes:
      - /mnt/sdb1/xunlei:/xunlei/data
      - /mnt/sdb1/downloads:/xunlei/downloads
    restart: unless-stopped

The parameter meanings are the same as above. After installation, access the port at http://IP:2345. You can also add the XL_WEB_PORT variable to specify the port. For details, see: https://hub.docker.com/r/cnk3x/xunlei

If you are using host network mode, you also need to allow port 2345 in the firewall. The commands are:

# If using firewalld
firewall-cmd --zone=public --add-port=2345/tcp --permanent
firewall-cmd --reload
# If using ufw
ufw allow 2345

Initializing the NAS Version of Thunder

Download the Thunder App

The purpose of downloading the Thunder app is to log in to the NAS version of Thunder (login is required to use it) and to manage it remotely via the app. If you do not need remote management, you can also log in directly via the http://IP:2345 page with your account and password.

5b4778288bc0aca1.png

Use Internal Test Invitation Code

The NAS version of Thunder is in the internal test phase. After installation and login, you need an internal test invitation code to use it normally.

097c71691659e243.png

You can purchase the internal test invitation code at: https://shop.xiuping.net/buy/3.html for 1 yuan to support and encourage the author. After obtaining the invitation code, simply enter it to use.

Using the NAS Version of Thunder

The NAS version of Thunder is quite simple. In addition to basic download functions, it also supports cloud drive retrieval, video library, and online playback. If you have installed the mobile app, you can also manage it remotely, which is very convenient.

688649768e5cfec2.png

Other Notes

  • The web interface of the NAS version of Thunder does not require authorization verification, so it is not suitable for installation on public servers. It is recommended to install it on NAS devices in the intranet.
  • Non-Thunder VIP users are limited to adding only 3 download tasks per day.

Conclusion

Even without Synology/QNAP hardware, you can install the NAS version of Thunder via Docker, thereby compensating for the lack of download software in third-party NAS systems like OMV.

Purchase address for Synology/QNAP NAS version Thunder internal test invitation code: https://shop.xiaoz.top/productinfo-114.html