• 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 General Questions Bind mounts on Ubuntu & Docker?

     
    • 0 Vote(s) - 0 Average

    Bind mounts on Ubuntu & Docker?

    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #1
    2025-01-19, 12:47 AM (This post was last modified: 2025-01-19, 12:59 AM by 4r5hw45twh. Edited 4 times in total.)
    So, I am following the guide here. I am on latest Ubuntu LTS version. Not really familiar with Linux a whole lot. I don't understand how to do the actual bind mounts part.
    Where it says, "mkdir /path/to/config" and "mkdir /path/to/cache", I just manually created 2 folders on the Desktop called "conf" and "cache". Do I still use the mkdir commands there if I manually did it? Did I name them correctly, or does it matter?
    My goal is to plug in my external hard drive and always have my JF server recognize & mount that drive and allow JF, which is in Docker, to access it at all times.

    [Image: GwfrdvJ.png]

    Or, let's say I do the persistent mount (which for some reason isn't listed first on the guide page) to make config & cache volumes in Docker.If I have multiple folders for the content on my hard drive (anime, tv shows, movies, etc.) do I then do a bind mount for each of those folders? I see the below code...

    Code:
    --mount type=bind,source=/path/to/media1,target=/media1
    --mount type=bind,source=/path/to/media2,target=/media2,readonly
    ...etc

    but what am I looking at here? I guess in my example, the code for the source part would be "/media/username/drivename/Jellyfin/Anime" (at least when I open my external drive and go to that directory and then open a terminal, that's the path)? But now what about the target? What am I linking to there?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 12:47 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 01:00 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 01:17 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 01:35 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 01:38 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 01:52 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 02:05 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 02:26 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 02:29 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 02:32 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 02:43 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 02:55 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 02:57 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 03:01 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 03:05 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 03:17 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 03:19 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 03:23 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 03:31 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 03:36 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 03:46 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 03:54 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 03:57 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 03:41 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 03:59 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 04:04 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 04:09 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 04:14 AM
    RE: Bind mounts on Ubuntu & Docker? - by 4r5hw45twh - 2025-01-19, 04:22 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 04:21 AM
    RE: Bind mounts on Ubuntu & Docker? - by theguymadmax - 2025-01-19, 04:26 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