More > JRiver Media Center 26 for Linux

Docker Container for JRiver Media Center 26

<< < (22/23) > >>

Scobie:
What you are actually looking to do is tell your router/firewall to perform an action based on an incoming request for a specific port on a service inside your network.

So when you are outside your network, you need to know your external facing (or public) IP address. Type whatsmyip in a browser and this will tell you.

It is this external/public address, with port 5900 that you use to access MC from outside your network. In you router /firewall config, you tell it to redirect incoming requests on port 5900 to the IP address of your actual container instance, not the QNAP address.

So with my config, I have a rule on my firewall that says anything that hits the external IP looking for port 5900 gets redirected to 192.168.1.126 on the same port for protocols TCP & UDP, in effect routing <externalIP>:5900 to 192.168.1.126:5900 which is MC. In your router or firewall config this will be called "Port Address Translation" or "Virtual Server" or similar.

There is a separate translation for JRemote/Panel requests for Port 52199.

HaWi:
I am having trouble updating the MC26 container. When I run   
--- Code: ---docker pull shiomax/jrivermc26:latest
--- End code ---
I get this error
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.39/images/create?fromImage=shiomax%2Fjrivermc26&tag=latest: dial unix /var/run/docker.sock: connect: permission denied

What am I doing wrong?
Many thanks
Hans
EDIT: Sorry, I got it. Needed to use sudo
All set now.

HaWi:
I have been trying to update to the latest image but when I run the install script I get this error:
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/create?name=jrivermc26: dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
This is what I get when I run with sudo:
Unable to find image 'shiomax-jrivermc26:latest' locally
docker: Error response from daemon: pull access denied for shiomax-jrivermc26, repository does not exist or may require 'docker login'.
See 'docker run --help'.
What am I doing wrong?
Many thanks for any help
Hans
EDIT: I was able to install the latest MC (26.0.107) via Docker. I manually had to add/update the Volumes and IDs but it works. Not sure why the CL script didn't work (I definitely had the latest image downloaded).

max096:

--- Quote from: HaWi on September 01, 2020, 09:46:40 am ---Unable to find image 'shiomax-jrivermc26:latest' locally
docker: Error response from daemon: pull access denied for shiomax-jrivermc26, repository does not exist or may require 'docker login'.

--- End quote ---

You just wrote it wrong. It should be shiomax/jrivermc26:latest. You can also add your user to the docker group then you donīt need sudo anymore.


--- Code: ---sudo usermod -aG docker $USER

--- End code ---

Log out, log back in and it should be able to operate docker without sudo. Itīs mainly a convinience feature and does not actually really change anything.

HaWi:
Thank you Max. I appreciate your help as always
Hans

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version