{"id":64,"date":"2023-08-05T07:16:49","date_gmt":"2023-08-05T07:16:49","guid":{"rendered":"http:\/\/it4home.dk\/?p=64"},"modified":"2023-12-03T14:14:00","modified_gmt":"2023-12-03T12:14:00","slug":"installing-jellyfin-media-server-with-docker","status":"publish","type":"post","link":"https:\/\/it4home.dk\/index.php\/2023\/08\/05\/installing-jellyfin-media-server-with-docker\/","title":{"rendered":"Installing Jellyfin Media Server with Docker"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-top-right\"><a href=\"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/64?print=pdf\" class=\"pdfprnt-button pdfprnt-button-pdf\" target=\"_blank\" ><\/a><a href=\"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/64?print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\" ><img decoding=\"async\" src=\"https:\/\/it4home.dk\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div>\n<p>Introduction:<br>Jellyfin is an open-source media server that allows you to organize, stream, and access your media content from various devices. By using Docker, we can easily set up Jellyfin and manage its configuration and data in isolated containers. In this guide, we&#8217;ll show you how to install Jellyfin using Docker and ensure it starts automatically.<\/p>\n\n\n\n<p>Step 1: Install Docker<br>Before proceeding, ensure you have Docker installed on your system. If you haven&#8217;t installed Docker yet, follow the official Docker installation instructions for your operating system.<\/p>\n\n\n\n<p>Step 2: Pull Jellyfin Docker Image<br>To install Jellyfin, pull the latest Docker image from Docker Hub using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull jellyfin\/jellyfin:latest<\/code><\/pre>\n\n\n\n<p>Step 3: Create a Docker Container for Jellyfin<br>Run the following command to create a Docker container for Jellyfin with proper volume and network configurations:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d --restart always --name jellyfin -v jellyfin_config:\/config -v jellyfin_cache:\/cache -v jellyfin_media:\/media --net=host jellyfin\/jellyfin:latest<\/code><\/pre>\n\n\n\n<p>Explanation of options used:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>-d<\/code>: Run the container in the background (detached mode).<\/li>\n\n\n\n<li><code>--restart always<\/code>: Configure the container to automatically restart if it stops unexpectedly.<\/li>\n\n\n\n<li><code>--name jellyfin<\/code>: Assign the name &#8220;jellyfin&#8221; to the container for easy management.<\/li>\n\n\n\n<li><code>-v jellyfin_config:\/config<\/code>: Create a Docker volume named &#8220;jellyfin_config&#8221; to persist the Jellyfin configuration data.<\/li>\n\n\n\n<li><code>-v jellyfin_cache:\/cache<\/code>: Create a Docker volume named &#8220;jellyfin_cache&#8221; to store the Jellyfin cache data.<\/li>\n\n\n\n<li><code>-v jellyfin_media:\/media<\/code>: Create a Docker volume named &#8220;jellyfin_media&#8221; to mount your media content.<\/li>\n\n\n\n<li><code>--net=host<\/code>: Use the host&#8217;s network stack to simplify network configuration and improve performance.<\/li>\n<\/ul>\n\n\n\n<p>Step 4: Access Jellyfin<br>Once the Jellyfin container is running, you can access the Jellyfin web interface by opening a web browser and navigating to <code>http:\/\/localhost:8096<\/code>. From here, you can set up Jellyfin and start adding your media libraries.<\/p>\n\n\n\n<p>Step 5: Clean Up<br>If you want to stop and remove the Jellyfin container and volumes, use the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker stop jellyfin\ndocker rm jellyfin\ndocker volume rm jellyfin_config jellyfin_cache jellyfin_media<\/code><\/pre>\n\n\n\n<p>Conclusion:<br>You&#8217;ve successfully installed Jellyfin media server using Docker, providing a powerful platform to organize and stream your media content across devices. Docker allows you to manage Jellyfin in an isolated and portable environment, ensuring easy setup and deployment. Enjoy exploring Jellyfin&#8217;s features and transforming your Raspberry Pi into a media powerhouse!<\/p>\n\n\n\n<p>Happy media streaming!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction:Jellyfin is an open-source media server that allows you to organize, stream, and access your media content from various devices. By using Docker, we can easily set up Jellyfin and manage its configuration and&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":212,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2,31],"tags":[35],"class_list":["post-64","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-server","tag-ok"],"_links":{"self":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":2,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/64\/revisions\/143"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/media\/212"}],"wp:attachment":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}