Chrome Capture Docker

I just migrated my Windows 10 media server, including the Channels server to Debian 12. I am now trying to get chrome capture to work using a Docker image. I tried downloading the Dockerfile.txt and using it to build an image. I renamed it to "Dockerfile", then ran docker build . The build failed producing this result:

root@niu:/home/jay/channels-dvr/ChromeCapture# docker build .
[+] Building 10.4s (9/10)                                                                          docker:default
 => [internal] load build definition from Dockerfile                                                         0.0s
 => => transferring dockerfile: 1.42kB                                                                       0.0s
 => [internal] load metadata for docker.io/library/node:lts-bullseye                                        10.3s
 => [internal] load .dockerignore                                                                            0.0s
 => => transferring context: 2B                                                                              0.0s
 => [internal] load build context                                                                            0.0s
 => => transferring context: 2B                                                                              0.0s
 => CANCELED [base 1/5] FROM docker.io/library/node:lts-bullseye@sha256:ef503384fcee60b98cd1b13e2b0e7577cd5  0.1s
 => => resolve docker.io/library/node:lts-bullseye@sha256:ef503384fcee60b98cd1b13e2b0e7577cd5164128f219324e  0.0s
 => => sha256:c069b0179245b4b9ffa0b7545d88f8753a3008a4ba937c3d71e1eb37fce4d4b9 2.50kB / 2.50kB               0.0s
 => => sha256:ef503384fcee60b98cd1b13e2b0e7577cd5164128f219324ecebdd762c8b8e6e 3.92kB / 3.92kB               0.0s
 => => sha256:5afef5e7b68eff64cc56a378734a78ddb2ca1d8ac2cb9602786a5975c3aa784b 6.51kB / 6.51kB               0.0s
 => CACHED [base 2/5] RUN apt-get update     && apt-get install -yq gconf-service libasound2 libatk1.0-0 li  0.0s
 => CACHED [base 3/5] RUN apt-get update     && apt-get install -y wget gnupg     && wget -q -O - https://d  0.0s
 => CACHED [base 4/5] WORKDIR /home/chrome                                                                   0.0s
 => ERROR [base 5/5] COPY main.js package.json yarn.lock /home/chrome/                                       0.0s
------
 > [base 5/5] COPY main.js package.json yarn.lock /home/chrome/:
------
Dockerfile:16
--------------------
  14 |     
  15 |     WORKDIR /home/chrome
  16 | >>> COPY main.js package.json yarn.lock /home/chrome/
  17 |     
  18 |     FROM base
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 580ace53-c2e3-44fe-9901-1406f6fb4436::o82luuaaht65an48sjms7keu6: "/yarn.lock": not found

I noticed that there is a reference to bullseye. Will this work in Bookworm?

Maybe there's a better way to get this going.

Also, is it necessary to also run Channels in Docker in order to use this?

Thanks,
-Jay

OK, I should have least tried the docker command in github. DOH! Anyway, that appeared to work!

I tried one of the channel definitions that worked in Windows, but alas, no joy. Is there some adjustment needed to use the Docker-installed chrome capture?

Follow along here:

Read all Troubleshooting / Common Issues.

If you'd like to try a user modified version with some adjustments you can make, use this version for your image instead:

Thanks! I followed the instructions for Portainer, etc. The test (port 5589 on localhost) shows that it is installed and running, however, Chrome doesn't launch when I try any of the channels in the source. I see this in the log:

2024/11/18 10:04:25.782350 [TNR] Opened connection to M3U-nbc for ch9009 Windy
2024/11/18 10:04:25.957446 [ERR] Error during stream M3U-nbc ch9009 Windy: signal: segmentation fault (core dumped)
2024/11/18 10:04:25.957463 [TNR] Closed connection to M3U-nbc for ch9009 Windy
2024/11/18 10:04:25.957564 [SNR] Buffer statistics for 192.168.3.31 (Naboo) for ch9009 Windy: buf=0% drop=0%

Do I need to address the command line installation I tried first?

Thanks,
-Jay

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.