|
@@ -0,0 +1,80 @@
|
|
|
+ <!DOCTYPE html>
|
|
|
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
|
+ <head>
|
|
|
+ <title>Running qBittorrent in Docker [Browser Based BitTorrent Client]</title>
|
|
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="keywords" content="Browser Based,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Web Based,Web Based Tools,Self-Hosted,Ubuntu,QBittorrent,Linux,Install Docker Host,Homelab,Getting Started With Docker,Docker Tutorial,Docker Simplified,Docker Setup Tutorial,Docker Made Simple,Docker How To,Docker,Containerize,Containerization,Container,Browser Based BitTorrent Client,Bittorrent Client Docker Container,QBitTorrent Docker Container,How To,Tutorial,i12bretro">
|
|
|
+ <meta name="author" content="i12bretro">
|
|
|
+ <meta name="description" content="Running qBittorrent in Docker [Browser Based BitTorrent Client]">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <meta name="revised" content="06/07/2022 08:05:06 PM" />
|
|
|
+ <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
|
|
|
+ <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
|
+ <script type="text/javascript" src="includes/js/steps.js"></script>
|
|
|
+ <link href="css/steps.css" rel="stylesheet" type="text/css" />
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div id="gridContainer">
|
|
|
+ <div class="topMargin"></div>
|
|
|
+ <div id="listName" class="topMargin">
|
|
|
+ <h1>Running qBittorrent in Docker [Browser Based BitTorrent Client]</h1>
|
|
|
+ </div>
|
|
|
+ <div></div>
|
|
|
+ <div id="content">
|
|
|
+ <h2>What is qBittorrent?</h2>
|
|
|
+
|
|
|
+<blockquote>
|
|
|
+<p><em>qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg. It aims to be a good alternative to all other bittorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features</em><em>. -<a href="https://github.com/qbittorrent/qBittorrent" target="_blank">https://github.com/qbittorrent/qBittorrent</a></em></p>
|
|
|
+</blockquote>
|
|
|
+
|
|
|
+<h2>Installing Docker</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Log into the Linux based device</li>
|
|
|
+ <li>Run the following commands in the terminal
|
|
|
+ <div class="codeBlock"># install prerequisites<br />
|
|
|
+ sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
|
|
|
+ # add docker gpg key<br />
|
|
|
+ curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -<br />
|
|
|
+ # add docker software repository<br />
|
|
|
+ sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"<br />
|
|
|
+ # install docker<br />
|
|
|
+ sudo apt install docker-ce docker-compose containerd.io -y<br />
|
|
|
+ # enable and start docker service<br />
|
|
|
+ sudo systemctl enable docker && sudo systemctl start docker<br />
|
|
|
+ # add the current user to the docker group<br />
|
|
|
+ sudo usermod -aG docker $USER<br />
|
|
|
+ # reauthenticate for the new group membership to take effect<br />
|
|
|
+ su - $USER</div>
|
|
|
+ </li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<h2>Running qBittorrent</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Continue with the following commands in a terminal window
|
|
|
+ <div class="codeBlock"># list current uid and gid, note these for later<br />
|
|
|
+ id $user<br />
|
|
|
+ # create a working directory<br />
|
|
|
+ mkdir ~/docker/qbittorrent -p<br />
|
|
|
+ # run the qbittorrent docker image<br />
|
|
|
+ # replace PUID, GUID with the output of the id $user command above<br />
|
|
|
+ docker run -d --name=qbittorrent -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -e WEBUI_PORT=8080 -p 8080:8080 -p 6881:6881 -p 6881:6881/udp -v ~/docker/qbittorrent:/config -v ~/Downloads:/downloads --restart unless-stopped lscr.io/linuxserver/qbittorrent</div>
|
|
|
+ </li>
|
|
|
+ <li>Open a web browser and navigate to http://DNSorIP:8080</li>
|
|
|
+ <li>Login using the username admin and password adminadmin</li>
|
|
|
+ <li>Select Tools > Options...</li>
|
|
|
+ <li>Click the Web UI tab</li>
|
|
|
+ <li>Enter a new admin password > Click the Save button at the bottom</li>
|
|
|
+ <li>Select File > Logout</li>
|
|
|
+ <li>Log back in using username admin and the new password</li>
|
|
|
+ <li>Welcome to qBittorrent</li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<p>Documentation: <a href="https://hub.docker.com/r/linuxserver/qbittorrent" target="_blank">https://hub.docker.com/r/linuxserver/qbittorrent</a></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
+
|