Sign inSign up

mogeko/qbittorrent

By mogeko

•Updated about 4 years ago

Image
0

2.6K

mogeko/qbittorrent repository overview

⁠docker-qbittorrent

ci_icon image_size image_ver unstable

Docker image for qBittorrent.

  • Tiny size
  • Enable rootless
  • Enable QBT_* options
  • Keep updating

⁠Usage

Pull this image:

docker pull mogeko/qbittorrent

Run with docker cli:

docker run -d \
  --name qbittorrent \
  --user 1000:100 `#optional` \
  -e QBT_WEBUI_PORT=8080 \
  -p 6881:6881 \
  -p 6881:6881/udp \
  -p 8080:8080 \
  -v /path/to/config:/config \
  -v /path/to/downloads:/downloads \
  --restart unless-stopped \
  mogeko/qbittorrent

Run with docker-compose⁠:

---
version: 2.1
services:
  qbittorrent:
    image: mogeko/qbittorrent
    container_name: qbittorrent
    user: 1000:100 #optional
    environment:
      - QBT_WEBUI_PORT=8080
    volumes:
      - /path/to/config:/config
      - /path/to/downloads:/downloads
    ports:
      - 6881:6881
      - 6881:6881/udp
      - 8080:8080
    restart: unless-stopped

⁠Parameters

Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.

ParameterFunction
-p 6881tcp connection port
-p 6881/udpudp connection port
-p 8080The Web UI port
-e QBT_WEBUI_PORT=8080Change the Web UI port
-v /configSave the configuration files
-v /downloadsLocation of downloads on disk

The qbittorrent-nox's options may be supplied via environment variables. For option named 'parameter-name', environment variable name is QBT_PARAMETER_NAME (in uppercase, - replaced with _). To pass flag values, set the variable to 1 or TRUE. Here is an example we already in used: -e QBT_WEBUI_PORT=8080.

More help message about qbittorrent-nox, you can get via:

docker run -it mogeko/qbittorrent --help

⁠License

The code in this project is released under the GPL-3.0 License⁠.

Tag summary

Content type

Image

Digest

sha256:6fefb78f2…

Size

31.3 MB

Last updated

about 4 years ago

docker pull mogeko/qbittorrent