HUB
Sign inSign up
qbittorrent logo

dgcosenza/qbittorrent

By dgcosenza

•Updated about 4 hours ago

Hardened rootless qBittorrent-nox BitTorrent WebUI on Debian 13 (multi-arch, 0 fixable CVEs).

Image
0

145

dgcosenza/qbittorrent repository overview

⁠qBittorrent (qbittorrent-nox) — Hardened Debian 13 (trixie-slim) Container Image

Daily CI OpenSSF Scorecard Workflow Gitleaks Secret Scan Public Content Check OpenSSF Scorecard OpenSSF Best Practices

Trivy + Grype: 0 Fixable CVEs Signed: Cosign OIDC SLSA Build L3 SBOM: SPDX + CycloneDX Base OS Architectures Healthcheck: CI Verified Renovate Enabled Dependabot Enabled Daily Rebuilds

Latest Release Release Date Last Commit Docker Pulls Docker Image Size Registries: Docker Hub + GHCR Packaging License: MIT Upstream License GitHub Issues FNX Labs Catalog

A hardened, rootless multi-arch qBittorrent (qbittorrent-nox) headless BitTorrent client and WebUI container built on Debian 13 (trixie-slim). Maintained by Daniel G. Cosenza from FNX Labs.

⁠Overview

dgcosenza/qbittorrent packages qbittorrent-nox (5.1.0) on Debian 13 (trixie-slim). It runs as non-root UID/GID 1000:1000 with cap_drop: [ALL] and no-new-privileges:true, automatically pre-seeds LegalNotice.Accepted=true on first start so the headless daemon boots unattended, guards /config writability, and probes the WebUI on port 8080 in its HEALTHCHECK.

⁠Current Versions

ComponentResolved Version
qBittorrent-nox5.1.0
Base OSDebian 13.8 (trixie-slim)
Architectureslinux/amd64, linux/arm64
Uncompressed size (per arch)amd64: 73.2 MB, arm64: 205.5 MB
Last verified build (UTC)2026-11-28
Published multi-arch digestdgcosenza/qbittorrent@sha256:99155d737bdf115fdb41efebeeddf81877d3c58917417ad5ec79ecffbf27197f
GHCR mirrorghcr.io/dgcosenza/qbittorrent@sha256:99155d737bdf115fdb41efebeeddf81877d3c58917417ad5ec79ecffbf27197f
Supply chainCosign OIDC signed + SPDX & CycloneDX SBOM attestations + SLSA Build L3 provenance
Security gate (Trivy + Grype on SBOM)0 fixable findings of any severity (25 upstream-unfixed)

⁠Supported Tags

TagPolicyDescription
latestMovingLatest verified multi-arch build passing all CVE, Dive, and smoke gates.
<version> (e.g. 5.1.0)MovingLatest verified build for that upstream release.
<version>-<YYYYMMDD>ImmutableDate-stamped daily security rebuild.
sha-<short>ImmutableGit commit tag from this repository.

Pin production deployments by immutable digest: dgcosenza/qbittorrent@sha256:<digest> or ghcr.io/dgcosenza/qbittorrent@sha256:<digest>.

⁠Supported Architectures

ArchitectureStatusVerification
linux/amd64Published & natively testedNative x86_64 build, smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3.
linux/arm64Published & natively testedNative ARM64 build, smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3.

⁠Quick Start

Volume ownership note: docker-compose.example.yml defaults to a named Docker volume so non-root runtime permissions (1000:1000) are initialized automatically; if switching to a host bind mount, pre-create the directory owned by 1000:1000 before docker compose up -d.

docker run -d --name qbittorrent --restart unless-stopped \
  --cap-drop ALL --security-opt no-new-privileges:true \
  -p 127.0.0.1:8080:8080 -p 6881:6881/tcp -p 6881:6881/udp \
  -v qbittorrent_config:/config \
  -v qbittorrent_downloads:/downloads \
  dgcosenza/qbittorrent:latest

⁠Compose Example

See docker-compose.example.yml⁠:

services:
  qbittorrent:
    image: dgcosenza/qbittorrent:latest
    container_name: qbittorrent
    restart: unless-stopped
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges:true
    ports:
      - "127.0.0.1:8080:8080"
      - "6881:6881/tcp"
      - "6881:6881/udp"
    environment:
      TZ: "Etc/UTC"
      WEBUI_PORT: "8080"
      TORRENTING_PORT: "6881"
    volumes:
      - qbittorrent_config:/config
      - qbittorrent_downloads:/downloads

volumes:
  qbittorrent_config:
  qbittorrent_downloads:

⁠Configuration

VariableDefaultDescription
WEBUI_PORT8080qBittorrent WebUI HTTP listening port.
TORRENTING_PORT6881Incoming BitTorrent peer TCP/UDP port.
TZEtc/UTCContainer timezone.

Ports: 8080/tcp (WebUI), 6881/tcp, 6881/udp (peers). Volumes: /config, /downloads. User: qbittorrent (UID/GID 1000:1000). PID 1: tini.

⁠Healthcheck

HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
  CMD ["/usr/local/bin/qbittorrent-healthcheck"]

Probes http://127.0.0.1:${WEBUI_PORT}/ and verifies WebUI availability.

⁠Upgrade / Migration from linuxserver/qbittorrent

  1. Ensure /config and /downloads are owned by 1000:1000.
  2. Replace image with dgcosenza/qbittorrent@sha256:<digest>.

⁠Supply-Chain Verification

cosign verify \
  --certificate-identity-regexp="^https://github\.com/dgcosenza/qbittorrent-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
  --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
  ghcr.io/dgcosenza/qbittorrent:latest

gh attestation verify oci://ghcr.io/dgcosenza/qbittorrent:latest --owner dgcosenza

⁠Security

  • 0 fixable vulnerabilities of any severity: Hard-gated in CI by Trivy (UNKNOWN–CRITICAL, --ignore-unfixed, exit 1) and Grype on the Syft SPDX SBOM (--only-fixed --fail-on negligible) on both amd64 and arm64.
  • Hardened runtime: Runs under tini PID 1 with least-privilege capabilities and no-new-privileges:true.
  • Report issues via SECURITY.md⁠.

⁠Build Locally

docker buildx build --platform linux/amd64 --load -t dgcosenza/qbittorrent:local .
./tests/smoke.sh dgcosenza/qbittorrent:local

⁠Update Policy

.github/workflows/daily.yml⁠ runs daily at 05:37 UTC with --no-cache: refreshes the debian:13.8-slim digest and OS security patches, runs smoke + Dive + Trivy + Grype gates on amd64 and arm64, publishes identical Cosign-signed SLSA L3 digests to Docker Hub and GHCR (plus optional Quay.io, GitLab, Codeberg, and Amazon ECR Public mirrors when configured), creates a signed GitHub Release, syncs docs & Docker Hub overview, and manages a single ci-failure issue.

⁠Design Decisions

  • Unattended first boot: Pre-seeds LegalNotice.Accepted=true when qBittorrent.conf is absent so the daemon never blocks on interactive stdin.
  • Rootless UID 1000:1000: Runs without root or s6-overlay.

⁠License

Packaging, scripts, workflows, and documentation (packaging: MIT, upstream: GPL-2.0-or-later) are licensed under the MIT License⁠ — copyright Daniel G. Cosenza from FNX Labs. Third-party upstream notices: THIRD-PARTY-NOTICES.md⁠.

⁠Credits

Maintained by Daniel G. Cosenza from FNX Labs. Upstream project: qbittorrent/qBittorrent⁠.

Tag summary

Content type

Image

Digest

sha256:99155d737…

Size

69.8 MB

Last updated

about 4 hours ago

docker pull dgcosenza/qbittorrent