2024-09-22, 10:14 PM
(This post was last modified: 2024-09-22, 10:35 PM by akon718. Edited 4 times in total.)
I have everything in /var/lib/docker because i was (and am) under the impression that for a docker container to access files stored on your pc they need to be in a docker volume.
I created a docker volume called jellyfin_media and jellyfin_config as to my understanding thats how I would let jellyfin access my files through the container.
in my mind the volume syntax goes [path to the docker volume you want to store your files in on your host pc]:[path to where those files will be stored inside the container]
so i set mine up as
/var/lib/docker/volumes/jellyfin_media : /media
I tried to do what you just said and put my files into the media folder in my root dir as well as in a media file in my home dir and neither of these worked because i dont know what the sytax for the volume would be. I tried to do /home/conner/media/movies: /movies but that did not populate jellyfin with anything.
If I go into the container console I can see the directories I made but they are completely empty
EDIT: Something interesting I found while going through my container file system, there is a music, tv, and media folder in the root driver and each of them have a tv, movies, music dir inside of them. Im not sure at all why thats the case but it might hint at where im messing up in terms of volume configuration
EDITx2: I realised that in my compose i accidentally put mdeia insead of movies and it seemed like all 3 of those volumes that I made are updating on my host machine with the tv, movies, and music dirs except that theyre empty and dont have the movies/music I put into them
(also i did not mean to mark this as solution and I dont know how to unmark it as solution)
I created a docker volume called jellyfin_media and jellyfin_config as to my understanding thats how I would let jellyfin access my files through the container.
in my mind the volume syntax goes [path to the docker volume you want to store your files in on your host pc]:[path to where those files will be stored inside the container]
so i set mine up as
/var/lib/docker/volumes/jellyfin_media : /media
I tried to do what you just said and put my files into the media folder in my root dir as well as in a media file in my home dir and neither of these worked because i dont know what the sytax for the volume would be. I tried to do /home/conner/media/movies: /movies but that did not populate jellyfin with anything.
If I go into the container console I can see the directories I made but they are completely empty
EDIT: Something interesting I found while going through my container file system, there is a music, tv, and media folder in the root driver and each of them have a tv, movies, music dir inside of them. Im not sure at all why thats the case but it might hint at where im messing up in terms of volume configuration
EDITx2: I realised that in my compose i accidentally put mdeia insead of movies and it seemed like all 3 of those volumes that I made are updating on my host machine with the tv, movies, and music dirs except that theyre empty and dont have the movies/music I put into them
(also i did not mean to mark this as solution and I dont know how to unmark it as solution)