User Tools

Site Tools


systems:media_server:install_docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
systems:media_server:install_docker [2025/06/03 22:08] petersystems:media_server:install_docker [2025/07/30 09:52] (current) peter
Line 1: Line 1:
 ====== Systems - Media Server - Install Docker ====== ====== Systems - Media Server - Install Docker ======
- 
-Docker will be installed. 
- 
----- 
  
 ===== Install Docker ===== ===== Install Docker =====
  
-<code bash> +Follow the installation instructions at: [[Docker:Install Docker|Install Docker]]
-sudo apt install docker.io docker-compose -y +
-</code> +
- +
----- +
- +
-===== Add your user to the docker group ===== +
- +
-<code bash> +
-sudo usermod -aG docker $USER +
-</code>+
  
 <WRAP info> <WRAP info>
-**NOTE:**  This allows docker to be run without using sudo. +**NOTE:** Docker will be installed together with Docker-Compose.
- +
-To enable this functionality, log out and log back in; or run: <code bash> +
-newgrp docker +
-</code> +
 </WRAP> </WRAP>
  
 ---- ----
  
-===== Create a Media Directory =====+===== Allow docker to be run without using sudo =====
  
-<code bash> +Follow the instructions at[[Docker:Allow docker to be run without using sudo|Allow docker to be run without using sudo]]
-mkdir /media +
-</code> +
- +
----- +
- +
-===== Change ownership of the Media Directory ===== +
- +
-<code bash> +
-chown -R 1000:1000 /media +
-</code> +
- +
-<WRAP info> +
-**NOTE:**  The 1000:1000 is usually the first user created on the system. +
- +
-  * Check the contents of **/etc/passwd** and **/etc/group** files. +
-    * This should show the user associated with UID 1000 and GID 1000. +
- +
-  * Alternatively, check which UID and GID is associated with 1000:1000 by running: <code bash> +
-id 1000</code> +
- +
-</WRAP> +
- +
----- +
- +
-===== Create an environment file ===== +
- +
-<file text docker-media.env> +
-# Main path for all MEDIA apps: +
-MEDIAPATH=/media/ +
- +
-# Global Variables +
-PUID=1000 +
-PGID=1000 +
-TZ=Europe/London +
-</file> +
- +
-<WRAP info> +
-**NOTE:**  Ensure the UID and GID point to the same user as before. +
-</WRAP>+
  
 ---- ----
Line 79: Line 21:
 https://wiki.servarr.com/docker-guide https://wiki.servarr.com/docker-guide
  
-https://prowlarr.com/ 
- 
-https://docs.linuxserver.io/images/docker-prowlarr/ 
- 
-https://discord.sonarr.tv/ 
- 
-https://radarr.video/discord 
- 
-http://reddit.com/r/sonarr 
- 
-http://reddit.com/r/radarr 
  
systems/media_server/install_docker.1748988516.txt.gz · Last modified: 2025/06/03 22:08 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki