More > JRiver Media Center 28 for Linux
Docker Image for MC28
Outlaw Audio:
I gave Docker a try. Setting it up on my Western Digital PR4100 took awhile since WD upgraded their firmware and completely broke the, then current installer. Located the files for WD OS5 and installed it, got portainer to run, downloaded the latest version of MC25 (which is the version Im using) and everything set up great......until......it came time to load the actual media files, which are located on two separate NAS drives. I was able to locate the local mount for the NAS that Docker was running on but unable to set up the mount point for the remote NAS that the other half of the library is located on. Therefore, I was not able to load the complete media library onto MC25. Anyone have any good material I can use as a guide to set up the remote NAS? I'm curious to see what kind of performance Docker can provide
max096:
--- Quote from: Outlaw Audio on August 30, 2021, 07:46:58 pm ---I gave Docker a try. Setting it up on my Western Digital PR4100 took awhile since WD upgraded their firmware and completely broke the, then current installer. Located the files for WD OS5 and installed it, got portainer to run, downloaded the latest version of MC25 (which is the version Im using) and everything set up great......until......it came time to load the actual media files, which are located on two separate NAS drives. I was able to locate the local mount for the NAS that Docker was running on but unable to set up the mount point for the remote NAS that the other half of the library is located on. Therefore, I was not able to load the complete media library onto MC25. Anyone have any good material I can use as a guide to set up the remote NAS? I'm curious to see what kind of performance Docker can provide
--- End quote ---
So you have docker setup on your Western Digital PR4100 (NAS) and it needs access to yet another NAS? Just making sure I got this right.
Does the other NAS have an SMB share? Or something else?
https://community.wd.com/t/mount-smb-share-on-pr4100/237512
This seems to suggest to me that you just do it with the normal linux mount utilities or put it into your fstab.
Normally to setup a smb mount permanently Iīd put the following into /etc/fstab
--- Code: ---//<nas_ip>/<share> /mnt/<mount_name> cifs credentials=/<path>/<to>/.smbcredentials,uid=1000,gid=1000,defaults,users,iocharset=utf8,nofail 0 0
--- End code ---
The file /<path>/<to>/.smbcredentials would contain
--- Code: ---<username>
<password>
--- End code ---
Then it will get mounted to /mnt/<mount_name> on boot or upon running "mount -a".
uid and gid you might want to adjust if yours are different.
--- Quote from: Outlaw Audio on August 30, 2021, 07:46:58 pm ---I'm curious to see what kind of performance Docker can provide
--- End quote ---
Generally should be almost equivalent to bare metal. Except when you want to use GPU accelleration to decode videos it will fall short by a lot without proper setup. You can setup GPUs with docker, but Iīve never really done that yet.
jokertest:
--- Quote from: max096 on August 30, 2021, 07:44:39 pm ---This had come up before, but I kinda forgot about it. I think I got it working now through basically installing all of ffmpeg. Relatively big but better too much than too little I guess. Not sure what exactly it was missing, the log just said missing ffmpeg and I couldnīt figure out how to narrow it down. Donīt believe it needs even remotely close to everything.
Though, unfortunately for the first time that I can remember dockerhub is currently dead so Im unable to push the image to the registry.
Pretty sure it will come back up shortly. It does still let you push images, but they disappear into the void. Curious how many automated systems are currently repeatedly trying to push images to dockerhub (circumstancial ddos? ^^).
You can test build it locally if you want
--- Code: ---git clone https://gitlab.com/shiomax/jrivermc-docker
cd jrivermc-docker
git checkout dev
./build.sh 28-latest-debian-10-amd64
--- End code ---
Then you will have an image locally tagged shiomax/jrivermc28-testing:28-latest-debian-10-amd64 that you can use for now.
--- End quote ---
Hi Max096
thanks for your help.
it doesn't work out. container jriver28-testing start and stop directly using windows docker.
max096:
--- Quote from: jokertest on August 30, 2021, 11:57:21 pm ---Hi Max096
thanks for your help.
it doesn't work out. container jriver28-testing start and stop directly using windows docker.
--- End quote ---
Probably you just donīt have bash on Windows.
Dockerhub is working fine again now. Can you try the latest images shiomax/jrivermc28:latest and check if it works for you now?
Outlaw Audio:
--- Quote from: max096 on August 30, 2021, 07:57:32 pm ---So you have docker setup on your Western Digital PR4100 (NAS) and it needs access to yet another NAS? Just making sure I got this right.
Does the other NAS have an SMB share? Or something else?
https://community.wd.com/t/mount-smb-share-on-pr4100/237512
This seems to suggest to me that you just do it with the normal linux mount utilities or put it into your fstab.
Normally to setup a smb mount permanently Iīd put the following into /etc/fstab
--- Code: ---//<nas_ip>/<share> /mnt/<mount_name> cifs credentials=/<path>/<to>/.smbcredentials,uid=1000,gid=1000,defaults,users,iocharset=utf8,nofail 0 0
--- End code ---
The file /<path>/<to>/.smbcredentials would contain
--- Code: ---<username>
<password>
--- End code ---
Then it will get mounted to /mnt/<mount_name> on boot or upon running "mount -a".
uid and gid you might want to adjust if yours are different.
--- End quote ---
Thanks, Max, both NAS's use SMB shares. Let me set up some dummy directories on each NAS and experiment more . Its been three decades since I played with Linux so the neurons are rusty
--- Quote from: max096 on August 30, 2021, 07:57:32 pm ---Generally should be almost equivalent to bare metal. Except when you want to use GPU accelleration to decode videos it will fall short by a lot without proper setup. You can setup GPUs with docker, but Iīve never really done that yet.
--- End quote ---
Nothing quite so strenuous, the MC Server only points to the files and stores tag information. No transcoding of video or audio, nor DPS functions are being performed.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version