• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Jellyfin and Docker Set-Up

     
    • 0 Vote(s) - 0 Average

    Jellyfin and Docker Set-Up

    Problem setting up my media files so they Jellyfin can accvess them in Docker
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-03-24, 08:03 PM
    In Docker you are creating a self contained environment. The container is only aware of things external to it when you "map" that external folder/device/network to it.

    If you did not configure a "host to container" mapping, the container is not aware of it. Additionally, since you did not configure a mapping from a folder on your host to "/config" in the container, if you were to update the container you would lose all your data. You need to go into the config for Jellyfin in portainer UI and map a folder on your host for both /config and /cache as well as map your media.

    I use docker compose, but I think it kind of shows what I am talking about. The directory to the left of the colon is the path host, the path on the right is how it is mapped into the container.

    Code:
    volumes:
          - ./jellyfin-prod-data/config:/config
          - ./jellyfin-prod-data/cache:/cache
          - /media/storage2/tempLibrary:/media/tempLibrary:ro
          - /media/library:/media/library

    The path you map on the right, the "container side", is arbitrary except for /config and /cache. You can map your media any which way you want.

    Your library is in /mnt/movies and /mnt/tv? You can map that into the container as simply /movies and /tv.

    Code:
    /mnt/movies:/movies
    /mnt/tv:/tv

    The portainer UI will provide a similar distinction between host and container paths.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Jellyfin and Docker Set-Up - by johnbilboa - 2025-03-24, 06:18 PM
    RE: Jellyfin and Docker Set-Up - by TheDreadPirate - 2025-03-24, 06:42 PM
    RE: Jellyfin and Docker Set-Up - by johnbilboa - 2025-03-24, 07:40 PM
    RE: Jellyfin and Docker Set-Up - by TheDreadPirate - 2025-03-24, 08:03 PM
    RE: Jellyfin and Docker Set-Up - by johnbilboa - 2025-03-24, 11:47 PM
    RE: Jellyfin and Docker Set-Up - by TheDreadPirate - 2025-03-25, 12:15 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode