
Repository on Docker Hub: https://hub.docker.com/r/qbittorrentofficial/qbittorrent-nox
Repository on GitHub: https://github.com/qbittorrent/docker-qbittorrent-nox
If the problem is related to Docker, please report it to this repository:
https://github.com/qbittorrent/docker-qbittorrent-nox/issues
If the problem is with qBittorrent, please report the issue to its main repository:
https://github.com/qbittorrent/qBittorrent/issues
Prerequisites
In order to run this image you will need Docker installed: [***]
If you don't need the GUI, you can just install Docker Engine: [***]
It is also recommended to install Docker Compose as it can simplify the process significantly: [***]
Download this repository
You can either git clone this repository or download a .zip of it: https://github.com/qbittorrent/docker-qbittorrent-nox/archive/refs/heads/main.zip
Edit Docker environment file
If you are using Docker Stack, refer to https://github.com/qbittorrent/docker-qbittorrent-nox/blob/main/docker-stack.yml file as an example.
It is an almost ready-to-use configuration, though a few variables need to be filled in. Make sure you read the following steps as they largely share the same concept.
If you are not using Docker Compose you can skip editing the environment file. However, the variables presented below are crucial for later steps, make sure you understand them.
Find and open the .env file in the repository you cloned (or the .zip archive you downloaded).
There are a few variables that you must take care of before you can run the image.
You can find the meanings of these variables in the following section. Make sure you understand every one of them.
Environment variables
QBT_LEGAL_NOTICE confirm only if you have read the legal notice. You can find
the legal notice https://github.com/qbittorrent/qBittorrent/blob/56667e717b82c79433ecb8a5ff6cc2d7b315d773/src/app/main.cpp#L320-L323.QBT_VERSION 4.4.5-1 is a valid entry. You can find all tagged versions https://hub.docker.com/r/qbittorrentofficial/qbittorrent-nox/tags. latest to use the latest stable release of qBittorrent. alpha to get the weekly build. lt2 variation is available which uses libtorrent v2.0.x. However, users have reported memory/performance https://github.com/arvidn/libtorrent/issues/6667. Use at your own risk!QBT_TORRENTING_PORT 6881 if value is not set.QBT_WEBUI_PORT 8080 if value is not set.Volumes
There are some paths involved:
<your_path>/config <your_path>/downloads Running the image
If using Docker (not Docker Compose), edit the variables and run:
shellexport \ QBT_LEGAL_NOTICE=<put_confirm_here> \ QBT_VERSION=latest \ QBT_TORRENTING_PORT=6881 \ QBT_WEBUI_PORT=8080 \ QBT_CONFIG_PATH="<your_path>/config" \ QBT_DOWNLOADS_PATH="<your_path>/downloads" docker run \ -t \ --name qbittorrent-nox \ --read-only \ --rm \ --stop-timeout 1800 \ --tmpfs /tmp \ -e QBT_LEGAL_NOTICE \ -e QBT_TORRENTING_PORT \ -e QBT_WEBUI_PORT \ -p "$QBT_TORRENTING_PORT":"$QBT_TORRENTING_PORT"/tcp \ -p "$QBT_TORRENTING_PORT":"$QBT_TORRENTING_PORT"/udp \ -p "$QBT_WEBUI_PORT":"$QBT_WEBUI_PORT"/tcp \ -v "$QBT_CONFIG_PATH":/config \ -v "$QBT_DOWNLOADS_PATH":/downloads \ qbittorrentofficial/qbittorrent-nox:${QBT_VERSION}
If using Docker Compose:
shelldocker compose up
A few notes:
ghcr.io/qbittorrent/docker-qbittorrent-nox:${QBT_VERSION}
for the image path.qbittorrent-nox by appending them to the end of docker run ... command.
If using Docker Compose, modify the command: array in docker-compose.yml.UTC).
You can set the environment variable TZ to your preferred value.qbittorrent-nox process by setting
environment variables PUID and PGID respectively. By default they are both set to 1000. --read-only flag (when using Docker) or set
read_only: false (when using Docker Compose) as these settings are incompatible with each other.qbittorrent-nox process by setting the
environment variable PAGID. For example: 10000,10001, this will set the process to be in
two (secondary) groups 10000 and 10001. By default there is no additional group. --read-only flag (when using Docker) or set
read_only: false (when using Docker Compose) as they are incompatible with it.qbittorrent-nox process by setting the
environment variable UMASK. By default it uses the default from Alpine Linux.shelldocker run --entrypoint /bin/cat --rm qbittorrentofficial/qbittorrent-nox:latest /sbom.txt
Then you can login to qBittorrent-nox at: http://<your_docker_host_address>:8080
admin/adminadmin.docker logs qbittorrent-nox to show the logs.After logging in, don't forget to change the password to something else!
To change it in WebUI: 'Tools' menu -> 'Options...' -> 'Web UI' tab -> 'Authentication'
Stopping container
When using Docker (not Docker Compose):
shelldocker stop qbittorrent-nox
When using Docker Compose:
shelldocker compose down
Refer to https://github.com/qbittorrent/docker-qbittorrent-nox/tree/main/manual_build folder.
To attach gdb to the running qbittorrent-nox process, follow the steps below:
Before you start the container
--read-only as it will need additional packages within the container. --cap-add=SYS_PTRACE to docker run argument list. Start the container
Drop into container
shell# to find container id docker ps # drop into container docker exec -it <container_id> /bin/sh
Install packages
shellapk add \ gdb \ musl-dbg
Attach gdb to the running process
shell# to find PID of qbittorrent-nox ps -a # attach debugger gdb -p <PID>
以下是 qbittorrentofficial/qbittorrent-nox 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
不支持 push
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务