Docker qBittorrent 中国优化版

前言

之前这个镜像,我选择了自编译,但是个人精力有限,没有太多时间去维护,所以新版选择了linuxserver/qbittorrent,有稳定维护团队的,更稳定,更新更及时,本镜像仅针对中文用户优化了config

博客:https://sleele.com
Docker Hub:https://hub.docker.com/r/superng6/qbittorrent
GitHub:https://github.com/SuperNG6/Docker-qBittorrent

本镜像的一些优点

  • 全平台架构x86-64arm64arm32
  • 默认简体中文
  • 做了usermapping,使用你自己的账户权限来运行,这点对于群辉来说尤其重要
  • 纯qBittorrent,没有包含多于的服务
  • 基于linuxserver/qbittorrent,每周构建一次,同步更新最新版本qbittorrent
  • 开放了BT下载DTH监听端口、BT下载监听端口(TCP/UDP 6881),加快下载速度
  • 默认开启DHT,加速下载
  • 内置400多条最新trackers(来自XIU2 / TrackersListCollection,感谢)
  • 默认上海时区 Asia/Shanghai

Architecture

Architecture Tag
x86-64 latest
arm64 latest
arm32 latest

Changelogs

2020/04/09

| | | | — | — |Code example | 1

2

3

4

5 | 1、放弃之前自编译方案

2、基于`linuxserver/qbittorrent`构建,仅添加添加了配置文件,默认中文,上海时区

3、自带优化后的config,减少设置,开箱即用

4、稳定,由`linuxserver/qbittorrent`维护

5、每周一拉取`linuxserver/qbittorrent`最新镜像。自动构建构建,保持最新 |

2020/02/03

| | | | — | — |Code example | 1

2

3

4

5 | 1、第一次提交

2、优化镜像体积、最大化减小镜像尺寸

3、多平台构建`x86-64`、`arm64·

4、优化conf配置

5、默认简体中文 |

Preview

Document

挂载路径

/config /downloads

关于群晖

群晖用户请使用你当前的用户SSH进系统,输入 id 你的用户id 获取到你的UID和GID并输入进去

权限管理设置

对你的docker配置文件夹的根目录进行如图操作,你的下载文件夹的根目录进行相似操作,去掉管理这个权限,只给写入,读取权限

Linux

输入 id 你的用户id 获取到你的UID和GID,替换命令中的PUID、PGID

执行命令

| | | | — | — |Code example | 1

2

3

4

5

6

7

8

9

10

11

12

13 | docker create  \

    

--name=qbittorrent  \

    

-e WEBUIPORT=8080  \

    

-e PUID=1026 \

    

-e PGID=100 \

    

-e TZ=Asia/Shanghai \

    

-p 6881:6881  \

    

-p 6881:6881/udp  \

    

-p 8080:8080  \

    

-v /配置文件位置:/config  \

    

-v /下载位置:/downloads  \

    

--restart unless-stopped  \

    

superng6/qbittorrent:latest |

docker-compose

| | | | — | — |Code example | 1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17 | version: "2"

services:

  

qbittorrent:

    

image: superng6/qbittorrent

    

container_name: qbittorrent

    

environment:

      

- PUID=1026

      

- PGID=100

      

- TZ=Asia/Shanghai

    

volumes:

      

- /path/to/appdata/config:/config

      

- /path/to/downloads:/downloads

    

ports:

      

- 6881:6881

      

- 6881:6881/udp

      

- 8080:8080

    

restart: unless-stopped |

原创声明
本文由 NG6 于2020年04月09日发表在 sleele的博客
如未特殊声明,本站所有文章均为原创;你可以在保留作者及原文地址的情况下转载
转载请注明:Docker qBittorrent 中国优化版 | sleele的博客

+2

相关文章推荐

  1. Docker qBittorrent增强版,反迅雷吸血
  2. Docker Aria2的最佳实践
  3. Linux qbittorrent和nextcloud安装笔记
  4. 高阶教程-追剧全流程自动化
  5. Docker BILIBILI-HELPER
  6. Docker SubFinder 自动刮削字幕器
使用 Hugo 构建
主题 StackJimmy 设计