0762.html 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Running qBittorrent in Docker [Browser Based BitTorrent Client]</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <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">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Running qBittorrent in Docker [Browser Based BitTorrent Client]">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="06/07/2022 08:05:06 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Running qBittorrent in Docker [Browser Based BitTorrent Client]</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is qBittorrent?</h2>
  26. <blockquote>
  27. <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>
  28. </blockquote>
  29. <h2>Installing Docker</h2>
  30. <ol>
  31. <li>Log into the Linux based device</li>
  32. <li>Run the following commands in the terminal
  33. <div class="codeBlock"># install prerequisites<br />
  34. sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
  35. # add docker gpg key<br />
  36. curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
  37. # add docker software repository<br />
  38. sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
  39. # install docker<br />
  40. sudo apt install docker-ce docker-compose containerd.io -y<br />
  41. # enable and start docker service<br />
  42. sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
  43. # add the current user to the docker group<br />
  44. sudo usermod -aG docker $USER<br />
  45. # reauthenticate for the new group membership to take effect<br />
  46. su - $USER</div>
  47. </li>
  48. </ol>
  49. <h2>Running qBittorrent</h2>
  50. <ol>
  51. <li>Continue with the following commands in a terminal window
  52. <div class="codeBlock"># list current uid and gid, note these for later<br />
  53. id $user<br />
  54. # create a working directory<br />
  55. mkdir ~/docker/qbittorrent -p<br />
  56. # run the qbittorrent docker image<br />
  57. # replace PUID, GUID with the output of the id $user command above<br />
  58. 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>
  59. </li>
  60. <li>Open a web browser and navigate to http://DNSorIP:8080</li>
  61. <li>Login using the username admin and password adminadmin</li>
  62. <li>Select Tools &gt; Options...</li>
  63. <li>Click the Web UI tab</li>
  64. <li>Enter a new admin password &gt; Click the Save button at the bottom</li>
  65. <li>Select File &gt; Logout</li>
  66. <li>Log back in using username admin and the new password</li>
  67. <li>Welcome to qBittorrent</li>
  68. </ol>
  69. <p>Documentation: <a href="https://hub.docker.com/r/linuxserver/qbittorrent" target="_blank">https://hub.docker.com/r/linuxserver/qbittorrent</a></p>
  70. </div>
  71. </div>
  72. </body>
  73. </html>