Docker Image packaging for qBittorrent. (amd64, arm32v5, arm32v6, arm32v7, arm64v8, i386, mips64le, ppc64le,riscv64, s390x)
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
docker run -d \
--name=qBittorrent \
-e TZ=Etc/UTC \
-e WEBUI_LANG=en \
-e WEBUI_USER=admin \
-e WEBUI_PASS=admin \
-p 8080:8080 \
-p 25413:25413 \
-p 25413:25413/udp \
-v /path/to/downloads:/var/lib/qBittorrent/downloads \
-v /path/to/incomplete:/var/lib/qBittorrent/incomplete \
-v /path/to/torrents:/var/lib/qBittorrent/torrents \
--restart unless-stopped \
snowdreamtech/qbittorrent:latest
docker run -d \
--name=qBittorrent \
-e TZ=Etc/UTC \
-e WEBUI_LANG=en \
-e WEBUI_USER=admin \
-e WEBUI_PASS=admin \
-e WEBUI_PORT=8080 \
-e PEER_PORT=25413 \
-p 8080:8080 \
-p 25413:25413 \
-p 25413:25413/udp \
-v /path/to/config:/var/lib/qBittorrent/config \
-v /path/to/downloads:/var/lib/qBittorrent/downloads \
-v /path/to/incomplete:/var/lib/qBittorrent/incomplete \
-v /path/to/torrents:/var/lib/qBittorrent/torrents \
--restart unless-stopped \
snowdreamtech/qbittorrent:latest
version: "3"
services:
qBittorrent:
image: snowdreamtech/qbittorrent:latest
container_name: qBittorrent
environment:
- TZ=Etc/UTC
- WEBUI_LANG=en
- WEBUI_USER=admin
- WEBUI_PASS=admin
volumes:
- /path/to/downloads:/var/lib/qBittorrent/downloads
- /path/to/incomplete:/var/lib/qBittorrent/incomplete
- /path/to/torrents:/var/lib/qBittorrent/torrents
ports:
- 8080:8080
- 25413:25413
- 25413:25413/udp
restart: unless-stopped
version: "3"
services:
qBittorrent:
image: snowdreamtech/qbittorrent:latest
container_name: qBittorrent
environment:
- TZ=Etc/UTC
- WEBUI_LANG=en
- WEBUI_USER=admin
- WEBUI_PASS=admin
- WEBUI_PORT=8080
- PEER_PORT=25413
volumes:
- /path/to/config:/var/lib/qBittorrent/config #optional
- /path/to/downloads:/var/lib/qBittorrent/downloads
- /path/to/incomplete:/var/lib/qBittorrent/incomplete
- /path/to/torrents:/var/lib/qBittorrent/torrents
ports:
- 8080:8080
- 25413:25413
- 25413:25413/udp
restart: unless-stopped
docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build -t snowdreamtech/qbittorrent --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push
- 使用 buildx 构建多平台 Docker 镜像
- 如何使用 docker buildx 构建跨平台 Go 镜像
- Building Multi-Arch Images for Arm and x86 with Docker Desktop
- How to Rapidly Build Multi-Architecture Images with Buildx
- Faster Multi-Platform Builds: Dockerfile Cross-Compilation Guide
- docker/buildx
- Email: sn0wdr1am@qq.com
- QQ: 3217680847
- QQ群: 949022145
- WeChat/微信群: sn0wdr1am
MIT