1:安装Docker
curl -sSL https://get.docker.com/ | sh
2:拉取qbittorrent
docker pull linuxserver/qbittorrent
3:运行镜像
docker run -d \ --name=bt \ -e WEBUI_PORT=8080 \ -p 9821:6881 \ -p 9821:6881/udp \ -p 8080:8080 \ -v <宿主机目录>:/downloads \ --restart unless-stopped \ linuxserver/qbittorrent
3.浏览器打开地址http://localhost:8080/
4.webUI 账户:admin 密码:adminadmin