GithubHelp home page GithubHelp logo

corentingi / docker-qbittorrent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wernight/docker-qbittorrent

0.0 3.0 0.0 67 KB

Containerized qBittorrent NOX (i.e., headless)

Home Page: https://registry.hub.docker.com/u/wernight/qbittorrent/

License: MIT License

Shell 100.00%

docker-qbittorrent's Introduction

Supported tags and respective Dockerfile links

What is qBittorrent?

qBittorrent NoX is the headless with remote web interface version of qBittorrent BitTorrent client.

qBittorrent logo

How to use this image

This image is:

  • Small: :latest is based on official Alpine Docker image.
  • Simple: Exposes correct ports, configured for remote access...
  • Secure: Runs as non-root user with random UID/GID 520, and handles correctly PID 1 (using dumb-init).

Usage

All mounts and ports are optional and qBittorrent will work even with only:

$ docker run wernight/qbittorrent

... however that way some ports used to connect to peers are not exposed, accessing the web interface requires you to proxy port 8080, and all settings as well as downloads will be lost if the container is removed. So start it using this command:

$ mkdir -p config torrents downloads
$ docker run -d --user $UID:$GID \
	-p 8080:8080 -p 6881:6881/tcp -p 6881:6881/udp \
	-v $PWD/config:/config \
	-v $PWD/torrents:/torrents \
	-v $PWD/downloads:/downloads \
	wernight/qbittorrent

... to run as yourself and have WebUI running on http://localhost:8080 (username: admin, password: adminadmin) with config in the following locations mounted:

  • /config: qBittorrent configuration files
  • /torrents: Torrent files
  • /downloads: Download location

Note: By default it runs as UID 520 and GID 520, but can run as any user/group.

It is probably a good idea to add --restart=always so the container restarts if it goes down.

You can change 6081 to some random port number (also change in the settings).

Note: For the container to run, the legal notice had to be automatically accepted. By running the container, you are accepting its terms. Toggle the flag in qBittorrent.conf to display the notice again.

Note: 520 was chosen randomly to prevent running as root or as another known user on your system; at least until issue #11253 is fixed.

Image Variants

wernight/qbittorrent:<version>

Those are tagged versions built from source code. Older versions are based on Debian while newer ones are based on Alpine Linux (just like :latest).

wernight/qbittorrent:stable

Works like :latest but based on Debian using only the package manager to install it. It's more tested, by Debian and package manager, but the image is larger than the one based on Alpine and it's an older version.

User Feedbacks

Having more issues? Report a bug on GitHub.

docker-qbittorrent's People

Contributors

sohrab- avatar wernight avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.