qBittorrent/dist/docker
Tom Piccirello 48fa4e116c
Fix Docker legal notice when using existing config
If the user is using a pre-existing config, don't update the legal notice.

PR #16974.
2022-05-04 12:12:15 +08:00
..
Dockerfile Separate docker image data and config dirs 2022-05-03 10:58:37 +08:00
entrypoint.sh Fix Docker legal notice when using existing config 2022-05-04 12:12:15 +08:00
Readme.md Separate docker image data and config dirs 2022-05-03 10:58:37 +08:00

Docker Container Name

This Dockerfile allows you to build a qBittorrent-nox container

Getting Started

Prerequisities

In order to run this container you'll need docker installed.

Built

in the docker folder run

release="4.2.0" ; sudo docker build --build-arg BUILD_TYPE=Release --build-arg RELEASE=$release -t qbittorrent-nox:$release --rm  .

where:

  • the release variable is the specific tagged version you want to build
  • the BUILD_TYPE argument is the build you want to create Debug or Release
  • the RELEASE argument works as the but is the actual argument given to docker, in the above script is defined by the release variable

Usage

Container Variables

there is one important variable to run the container:

  • the LEGAL varible defines if you accept the Legal Notice, put accept as a value only if you understand and accept the Legal Notice

Volumes

there are three main locations:

  • config contains qBittorrent configurations
  • data contains qBittorrent application data
  • downloads contains the files downloaded by qBittorrent
docker run give.example.org/of/your/container:v0.2.1 parameters

Network

on the port 8080 the webinterface is run

RUN

To start the the docker image simply run

docker run --env LEGAL=accept -p 8080:8080 -v /your/path/config:/config -v /your/path/data:/data -v /your/path/download:/downloads --name qBittorrent qbittorrent-nox:4.2.0

to stop the container

docker stop qBittorrent