Sign inSign up

epicmorg/qbittorrent

By epicmorg

•Updated 5 days ago

qBittorrent-nox (static build) with web UI on Debian trixie, libtorrent 1.2/2.0

Image
1

50K+

epicmorg/qbittorrent repository overview

⁠epicmorg/qbittorrent

qBittorrent⁠ headless (qbittorrent-nox) with the web UI, on epicmorg/debian:trixie. The binary is the fully static build from userdocs/qbittorrent-nox-static⁠, so the image carries no Qt or libtorrent packages of its own.

⁠What's inside

  • /usr/bin/qbittorrent-nox — static qbittorrent-nox for the tagged qBittorrent version
  • docker-entrypoint.sh run under tini: starts qbittorrent-nox with a profile directory and tails the qBittorrent log to the container output
  • healthcheck: HTTP request to the web UI every 2 minutes
  • volume: /opt/qbittorrent (profiles, configuration, logs)
⁠Tag variants

Every qBittorrent version is published in three flavours, built from the same Dockerfile with a different static binary:

Taglibtorrent
<version>libtorrent 2.0.x (same binary as -libtorrent2.0.x)
<version>-libtorrent2.0.xlibtorrent 2.0 branch (memory-mapped I/O)
<version>-libtorrent1.2.xlibtorrent 1.2 branch (classic disk I/O) — pick it if 2.0 behaves badly with your storage

The exact libtorrent patch version is part of the tag (see the table below).

⁠Tags

TagsDockerfile
4.4.0, 4.4.0-libtorrent2.0.5, 4.4.0-libtorrent1.2.154.4.0⁠
4.4.1, 4.4.1-libtorrent2.0.5, 4.4.1-libtorrent1.2.154.4.1⁠
4.4.2, 4.4.2-libtorrent2.0.6, 4.4.2-libtorrent1.2.164.4.2⁠
4.4.3.1, 4.4.3.1-libtorrent2.0.7, 4.4.3.1-libtorrent1.2.174.4.3.1⁠
4.4.4, 4.4.4-libtorrent2.0.7, 4.4.4-libtorrent1.2.174.4.4⁠
4.4.5, 4.4.5-libtorrent2.0.8, 4.4.5-libtorrent1.2.184.4.5⁠
4.5.0, 4.5.0-libtorrent2.0.8, 4.5.0-libtorrent1.2.184.5.0⁠
4.5.1, 4.5.1-libtorrent2.0.8, 4.5.1-libtorrent1.2.184.5.1⁠
4.5.2, 4.5.2-libtorrent2.0.9, 4.5.2-libtorrent1.2.194.5.2⁠
4.5.3, 4.5.3-libtorrent2.0.9, 4.5.3-libtorrent1.2.194.5.3⁠
4.5.4, 4.5.4-libtorrent2.0.9, 4.5.4-libtorrent1.2.194.5.4⁠
4.5.5, 4.5.5-libtorrent2.0.9, 4.5.5-libtorrent1.2.194.5.5⁠
4.6.0, 4.6.0-libtorrent2.0.9, 4.6.0-libtorrent1.2.194.6.0⁠
4.6.1, 4.6.1-libtorrent2.0.9, 4.6.1-libtorrent1.2.194.6.1⁠
4.6.2, 4.6.2-libtorrent2.0.9, 4.6.2-libtorrent1.2.194.6.2⁠
4.6.3, 4.6.3-libtorrent2.0.9, 4.6.3-libtorrent1.2.194.6.3⁠
4.6.4, 4.6.4-libtorrent2.0.10, 4.6.4-libtorrent1.2.194.6.4⁠
4.6.5, 4.6.5-libtorrent2.0.10, 4.6.5-libtorrent1.2.194.6.5⁠
4.6.6, 4.6.6-libtorrent2.0.10, 4.6.6-libtorrent1.2.194.6.6⁠
4.6.7, 4.6.7-libtorrent2.0.10, 4.6.7-libtorrent1.2.194.6.7⁠
5.0.0, 5.0.0-libtorrent2.0.10, 5.0.0-libtorrent1.2.195.0.0⁠
5.0.1, 5.0.1-libtorrent2.0.10, 5.0.1-libtorrent1.2.195.0.1⁠
5.0.2, 5.0.2-libtorrent2.0.10, 5.0.2-libtorrent1.2.195.0.2⁠
5.0.3, 5.0.3-libtorrent2.0.11, 5.0.3-libtorrent1.2.205.0.3⁠
5.0.4, 5.0.4-libtorrent2.0.11, 5.0.4-libtorrent1.2.205.0.4⁠
5.0.5, 5.0.5-libtorrent2.0.11, 5.0.5-libtorrent1.2.205.0.5⁠
5.1.0, 5.1.0-libtorrent2.0.11, 5.1.0-libtorrent1.2.205.1.0⁠
5.1.1, 5.1.1-libtorrent2.0.11, 5.1.1-libtorrent1.2.205.1.1⁠
5.1.2, 5.1.2-libtorrent2.0.11, 5.1.2-libtorrent1.2.205.1.2⁠
5.1.3, 5.1.3-libtorrent2.0.11, 5.1.3-libtorrent1.2.205.1.3⁠
5.1.4, 5.1.4-libtorrent2.0.11, 5.1.4-libtorrent1.2.205.1.4⁠
5.2.0, 5.2.0-libtorrent2.0.12, 5.2.0-libtorrent1.2.205.2.0⁠
5.2.1, 5.2.1-libtorrent2.0.13, 5.2.1-libtorrent1.2.205.2.1⁠
5.2.2, 5.2.2-libtorrent2.0.13, 5.2.2-libtorrent1.2.205.2.2⁠
5.2.3, 5.2.3-libtorrent2.0.15, 5.2.3-libtorrent1.2.205.2.3⁠
5.2.4, 5.2.4-libtorrent2.0.15, 5.2.4-libtorrent1.2.205.2.4⁠
5.0.0beta1, 5.0.0beta1-libtorrentRC_2_0testing⁠

Every tag is pushed to docker.io, quay.io and ghcr.io (epicmorg/qbittorrent:<tag> on each) - same digest everywhere.

⁠Usage

services:
  qbittorrent:
    image: epicmorg/qbittorrent:5.1.2
    container_name: qbittorrent
    restart: unless-stopped
    ports:
      - "8282:8282"        # web UI
      - "1337:1337/tcp"    # incoming peer connections
      - "1337:1337/udp"
      - "9000:9000/tcp"    # embedded tracker
      - "9000:9000/udp"
    volumes:
      - ./qbt:/opt/qbittorrent
      - /path/to/downloads:/downloads
    environment:
      - QBT_PROFILE_NAME=docker
      - QBT_PORT_WEBUI=8282
    tmpfs:
      - /tmp

Then open http://<host>:8282. Set the listening port to QBT_PORT_NAT (1337) and the tracker port to QBT_PORT_TRACKER (9000) in the qBittorrent settings so they match the published ports.

⁠Environment
VariableDefaultMeaning
QBT_PROFILES_DIR/opt/qbittorrent/profiles--profile directory
QBT_PROFILE_NAMEdocker--configuration name; data lives in qBittorrent_<name>/
QBT_PORT_WEBUI8282web UI port (--webui-port)
QBT_PORT_NAT1337peer port (exposed)
QBT_PORT_TRACKER9000embedded tracker port (exposed)
⁠Behind nginx
location / {
    proxy_pass http://qbittorrent:8282;
    proxy_http_version 1.1;
    proxy_set_header   Host               127.0.0.1:8282;
    proxy_set_header   X-Forwarded-Host   $http_host;
    proxy_set_header   X-Forwarded-For    $remote_addr;
    proxy_cookie_path  /                  "/; Secure";
    client_max_body_size 0;
}

Tag summary

Content type

Image

Digest

sha256:40da22992…

Size

714.3 MB

Last updated

5 days ago

docker pull epicmorg/qbittorrent:5.1.4-libtorrent1.2.20