https://hub.docker.com/r/linuxserver/qbittorrent
    https://hub.docker.com/r/dperson/samba
    qbittorrent BT下载

    1. [root@rmaster01 qbittorrent]# cat docker-compose.yaml
    2. version: "2.1"
    3. services:
    4. qbittorrent:
    5. image: linuxserver/qbittorrent
    6. container_name: qbittorrent
    7. environment:
    8. - PUID=1000
    9. - PGID=1000
    10. - TZ=Europe/London
    11. - UMASK_SET=022
    12. - WEBUI_PORT=8080
    13. volumes:
    14. - /path/to/appdata/config:/config
    15. - /path/to/downloads:/downloads
    16. ports:
    17. - 6881:6881
    18. - 6881:6881/udp
    19. - 8080:8080
    20. restart: unless-stopped
    21. [root@rmaster01 qbittorrent]#docker-compose up -d

    访问地址
    http://192.168.31.130:8080/
    用户名:admin
    密码:adminadmin
    修改为中文界面
    image.png

    下载文件存档路径
    /path/to/downloads

    SAMBA共享

    使用docker运行samba共享服务挂载下载目录/path/to/downloads

    1. docker run -it -p 139:139 -p 445:445 --name samba -d --rm \
    2. -v /path/to/downloads:/mount dperson/samba \
    3. -u "liwm;123" \
    4. -s "liwm;/mount/;yes;no;yes;all;all;all" \
    5. -w "WORKGROUP" \
    6. -g "force user= liwm" \
    7. -g "guest account= liwm"

    -v 代表需要映射的目录, -u 代表目录的owner, -g 代表修改 smb.conf 配置文件的 global 配置。

    1. [root@rmaster01 downloads]# docker ps |grep dperson/samba
    2. e7fcadbdf418 dperson/samba "/sbin/tini -- /usr/…" 3 hours ago Up 3 hours (healthy) 0.0.0.0:139->139/tcp, 137-138/udp, 0.0.0.0:445->445/tcp samba
    3. [root@rmaster01 downloads]# docker ps |grep linuxserver/qbittorrent
    4. b9a748211cf6 linuxserver/qbittorrent "/init" 5 hours ago Up 5 hours 0.0.0.0:6881->6881/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:6881->6881/udp qbittorrent
    5. [root@rmaster01 downloads]#

    image.png

    image.png

    https://github.com/filebrowser/filebrowser