Script Installation
Bootstrapping the container
Some notes on the dockers method:
- The script installs the necessary dependencies so there is no docker file needed.
- We use a subdirectory
qbt
, not your$HOME
directory, to avoid.bashrc
and.profile
conflicts. - A subdirectory is automatically created, named
qbt
by the use of-v $HOME/qbt:/root
- The default path will be
HOME/qbt
outside the docker container and/root/qbt
inside it. - We use
-e "LANG=C.UTF-8"
with Debian based images to avoid some UTF errors.
To bootstrap the container:
docker run -it -w /root -p 8080:8080 -v ~/qbt:/root alpine:edge /bin/ash -c 'apk update && apk add bash curl && bash'
If you need to download the script use this command
curl -sLo qbittorrent-nox-static.sh git.io/qbstatic && chmod +x qbittorrent-nox-static.sh
To bootstrap the container:
docker run -it -w /root -p 8080:8080 -e "LANG=C.UTF-8" -v ~/qbt:/root debian:latest /bin/bash -c 'apt update && apt install -y curl && bash'
If you need to download the script use this command
curl -sLo qbittorrent-nox-static.sh git.io/qbstatic && chmod +x qbittorrent-nox-static.sh
To bootstrap the container:
docker run -it -w /root -p 8080:8080 -e "LANG=C.UTF-8" -v ~/qbt:/root ubuntu:latest /bin/bash -c 'apt update && apt install -y curl && bash'
If you need to download the script use this command
curl -sLo qbittorrent-nox-static.sh git.io/qbstatic && chmod +x qbittorrent-nox-static.sh
You are now ready to run the script.