More > JRiver Media Center 26 for Linux
Docker Container for JRiver Media Center 26
max096:
--- Quote from: Robad on July 04, 2020, 08:30:53 am ---Thanks for the reply.
When I change the container network mode to "Host" I get the following:
"The port may conflict with the NAS port when selecting Host mode.
Use local host network (command: --net=host)
Note:This option allows containers to have full access to the host network interface."
I have no idea what this bit means: "Use local host network (command: --net=host)"
The operation fails with this:
"Failed to apply container settings.
Error Code: 500
Message: 400 Client Error: Bad Request ("conflicting options: mac-address and the network mode")"
--- End quote ---
The error makes sence. When you use host networking you are using your hosts network interface. You cannot just reconfigure its mac address from a docker command and thatīs a good thing. So donīt use the mac address option with host networking. The only reason I included the mac address in the bridge config is because otherwise your mac address will change when you teardown and recreate the container (in case of updating it) and then you would have to re-activate jriver every time. Bridge networking means youll create an isolated virtual network for every (although possible to configure one for multiple) container(s) you create.
HaWi:
Hi all
I'm a total rookie in Docker but I would like to set up a MC26 Docker container on my Synology 1819+. I got as as far as being able to log into it with JRemote but it doesn't see the media files. I have them located in /music right on volume1.
I also created a symlink to that folder in /docker/config/music. I tried either
-v /volume1/docker/config/music:/music:rw \ or
-v /volume1/music:/music:rw \
to no avail
Could someone please explain to me how to get the correct path to my media?
many thanks
Hans
PS: this is what I used to start up (with the correct Key, of course):
sudo docker run -d \
--name=jrivermc26 \
--net=host \
--restart=always \
-v config:/config:rw \
-v /volume1/docker/config/music:/music:rw \ or -v /docker/config/music:/music:rw \
-e VNC_PASSWORD=XXXXX \
shiomax/jrivermc26
max096:
--- Quote from: HaWi on July 21, 2020, 02:19:58 pm ----v /volume1/docker/config/music:/music:rw
--- End quote ---
The left path /volume1/docker/config/music is the path on your actual machine to your music and /music is where you would find them inside the container. You can put your music wherever you want. In the examples I suggested /data/music, but if you prefer /music that's perfectly fine. You can set the folder to effectively anything you want. But the right path is where it's going to end up at. Since you set it to /music that's where /volume1/docker/config/music is going to be inside your container.
HaWi:
Thanks max!
In the container terminal I can see the media in the /data/music folder (after understanding that this is the container internal folder for the media, I changed to /data/music as you suggested). However, when I connect to the server with JRemote, there are no media. Could it be a permissions issue? How would I change those permissions?
EDIT: When I try to set up file location in MC26 on the Synology, I get an error (see attached). How can I get this fixed?
many thanks,
Hans
max096:
--- Quote from: HaWi on July 22, 2020, 09:29:26 am ---Thanks max!
In the container terminal I can see the media in the /data/music folder (after understanding that this is the container internal folder for the media, I changed to /data/music as you suggested). However, when I connect to the server with JRemote, there are no media. Could it be a permissions issue? How would I change those permissions?
EDIT: When I try to set up file location in MC26 on the Synology, I get an error (see attached). How can I get this fixed?
many thanks,
Hans
--- End quote ---
Try this.
On your NAS run
--- Code: ---ls -la /volume1/docker/config/music
--- End code ---
See what user and group the folder belongs to.
Look up the numeric userid and groupid of those (id user).
Then similarly to how you set the VNC_PASSWORD environment variable you are gonna set USER_ID to the numeric user id and GROUP_ID to the group id.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version