Sign inSign up

11notes/qbittorrent

By 11notes

β€’Updated 22 days ago

run qBittorrent rootless and distroless

Buildkit cache
Image
2

50K+

11notes/qbittorrent repository overview

banner

⁠QBITTORRENT

size5pxpulls5px5pxswiss_made

run qBittorrent rootless and distroless

⁠INTRODUCTION πŸ“’

qBittorrent⁠ (created by qbittorrent⁠) is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.

⁠SYNOPSIS πŸ“–

What can I do with this? This image will give you a rootless⁠ and distroless⁠ qBittorrent installation for your adventures on the high seas1⁠ arrrr!

⁠ARR STACK IMAGES πŸ΄β€β˜ οΈ

This image is part of the so called arr-stack (apps to pirate and manage media content). Here is the list of all it's companion apps for the best pirate experience:

⁠UNIQUE VALUE PROPOSITION πŸ’Ά

Why should I run this image and not the other image(s) that already exist? Good question! Because ...

  • ... this image runs rootless⁠ as 1000:1000
  • ... this image has no shell since it is distroless⁠
  • ... this image is built and compiled from source (no userdocs/qbittorrent-nox!)
  • ... this image supports 32bit architecture
  • ... this image is auto updated to the latest version via CI/CD
  • ... this image has a health check
  • ... this image runs read-only
  • ... this image is automatically scanned for CVEs before and after publishing
  • ... this image is created via a secure and pinned CI/CD process
  • ... this image is very small
  • ... this image creates a random password at start if none is set in the config
  • ... this image support inline configs⁠

If you value security, simplicity and optimizations to the extreme, then this image might be for you.

⁠COMPARISON 🏁

Below you find a comparison between this image and the most used or original one.

imagesize on diskinit default asdistroless⁠supported architectures
11notes/qbittorrent33MB1000:1000βœ…amd64, arm64, armv7
home-operations/qbittorrent97MB65534:65533❌amd64, arm64
hotio/qbittorrent154MB0:0❌amd64, arm64
linuxserver/qbittorrent193MB0:0❌amd64, arm64
qbittorrentofficial/qbittorrent-nox455MB0:0❌386, amd64, arm64, armv6, armv7, riscv64

⁠VOLUMES πŸ“

  • /qbittorrent/etc - Directory of your qBittorrent.conf and other files
  • /qbittorrent/var - Directory of your SQlite database for qBittorrent
  • /qbittorrent/themes (optional) - Directory of your alternate themes, VueTorrent is already present

⁠COMPOSE βœ‚οΈ

name: "arr"

x-lockdown: &lockdown
  # prevents write access to the image itself
  read_only: true
  # prevents any process within the container to gain more privileges
  security_opt:
    - "no-new-privileges=true"

services:
  qbittorrent:
    image: "11notes/qbittorrent:5.2.1"
    <<: *lockdown
    environment:
      TZ: "Europe/Zurich"
      QBITTORRENT_USER_AGENT: "11notes/qbittorrent" # optional
      QBITTORRENT_PEER_ID: "-qB11-" # optional
    volumes:
      - "qbittorrent.etc:/qbittorrent/etc"
      - "qbittorrent.var:/qbittorrent/var"
    ports:
      - "3000:8080/tcp"
      - "6881:6881/tcp"
      - "6881:6881/udp"
    networks:
      frontend:
    restart: "always"

volumes:
  qbittorrent.etc:
  qbittorrent.var:

networks:
  frontend:

To find out how you can change the default UID/GID of this container image, consult the RTFM⁠.

⁠DEFAULT SETTINGS πŸ—ƒοΈ

ParameterValueDescription
userdockeruser name
uid1000user identifier⁠
gid1000group identifier⁠
home/qbittorrenthome directory of user docker
AdditionalTrackersURLngosang/trackerslist⁠additional trackers that will be added to every torrent

⁠ENVIRONMENT πŸ“

ParameterValueDefault
TZTime Zone⁠
DEBUGWill activate debug option for container image and app (if available)
QBITTORRENT_USER_AGENT (optional)sets the user-agent to a custom value if needed
QBITTORRENT_PEER_ID (optional)sets the peer ID to a custom value if needed
QBITTORRENT_CONFIG (optional)Will overwrite the default config with the value of this variable if set (inline config⁠)

⁠MAIN TAGS 🏷️

These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.

⁠There is no latest tag, what am I supposed to do about updates?

It is my opinion that the :latest tag is a bad habbit and should not be used at all. Many developers introduce breaking changes in new releases. This would messed up everything for people who use :latest. If you don’t want to change the tag to the latest semver⁠, simply use the short versions of semver⁠. Instead of using :5.2.1 you can use :5 or :5.2. Since on each new version these tags are updated to the latest version of the software, using them is identical to using :latest but at least fixed to a major or minor version. Which in theory should not introduce breaking changes.

If you still insist on having the bleeding edge release of this app, simply use the :rolling tag, but be warned! You will get the latest version of the app instantly, regardless of breaking changes or security issues or what so ever. You do this at your own risk!

⁠REGISTRIES ☁️

docker pull 11notes/qbittorrent:5.2.1
docker pull ghcr.io/11notes/qbittorrent:5.2.1
docker pull quay.io/11notes/qbittorrent:5.2.1

⁠UNRAID VERSION 🟠

This image supports unraid by default. Simply add -unraid to any tag and the image will run as 99:100 instead of 1000:1000.

⁠NOBODY VERSION πŸ‘»

This image supports nobody by default. Simply add -nobody to any tag and the image will run as 65534:65534 instead of 1000:1000.

⁠SOURCE πŸ’Ύ

⁠PARENT IMAGE πŸ›οΈ

This image is not based on another image but uses scratch⁠ as the starting layer. The image consists of the following distroless layers that were added:

⁠BUILT WITH 🧰

⁠GENERAL TIPS πŸ“Œ

  • Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
  • Use Let’s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services

⁠ElevenNotesℒ️

This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases⁠ for breaking changes. If you have any problems with using this image simply raise an issue⁠, thanks. If you have a question or inputs please create a new discussion⁠ instead of an issue. You can find all my other repositories on github⁠.

created 29.05.2026, 07:25:11 (CET)

⁠Footnotes

  1. Check the compose.vpn.yml⁠ example on how to use this image with a VPN provider like gluetun. ↩⁠

Tag summary

Content type

Image

Digest

sha256:788169b32…

Size

26.9 MB

Last updated

22 days ago

docker pull 11notes/qbittorrent:5.2.3-nobody