NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker arm32v7 v
1 2 Next »
NextPVR/Docker on a RPi 5

 
  • 0 Vote(s) - 0 Average
NextPVR/Docker on a RPi 5
magix
Offline

Junior Member

Germany
Posts: 2
Threads: 0
Joined: Jul 2024
#11
2024-07-12, 06:44 PM
Hi,

thank you very much for your fast reply! I am running multiple docker containers on the same server and to ensure that they do not interfere, and to make it easy to swap devices, quick upgrading and so on, I want to use Docker. Any hope to get help to get it running sooner, or should I wait for the next release?
Is the Dockerfile for 32bit open source? Where would I find it?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#12
2024-07-12, 06:48 PM
(2024-07-12, 04:59 PM)magix Wrote: I am trying something like this, but struggling with the Entrypoint. What should I choose as Entrypoint?
It basically ends up running:

Code:
dotnet NextPVRServer.dll
crazycatgentlemen
Offline

Junior Member

Austria
Posts: 1
Threads: 0
Joined: Feb 2025
#13
2025-02-12, 11:22 AM
Following works just fine for me on a Raspi 5 with a TV Butler 100TC USB tuner. 

Dockerfile: 
Code:
# Use Debian as the base image
FROM debian:bullseye

# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive

# Update and install dependencies
RUN apt-get update && \
    apt-get install -y curl; \
    \
    # Download NextPVR latest version
    curl https://nextpvr.com/nextpvr-helper.deb -O; \
    dpkg-deb -R nextpvr-helper.deb extracted_pkg; \
    rm extracted_pkg/DEBIAN/postinst; \
    dpkg-deb -b extracted_pkg modified_package.deb; \
    apt-get install -y ./modified_package.deb --install-recommends;


ENV PATH="$PATH:/opt/nextpvr/system"

# Expose necessary ports
EXPOSE 8866

# Set default command
CMD ["/opt/dotnet/dotnet", "/opt/nextpvr/system/NextPVRServer.dll"]



docker-compose.yaml
Code:
---
services:
  nextpvr:
    build:
      context: .
    container_name: nextpvr
    volumes:
      - ./config:/config
      - /mnt/nas/Video/TV-Recordings/:/recordings
      - ./buffer:/buffer
    ports:
      - 8866:8866
    devices:
      - /dev/dri:/dev/dri #optional
      - /dev/dvb:/dev/dvb #optional
    restart: unless-stopped
    environment:
      NEXTPVR_DATADIR_USERDATA: /config/


Challenges I faced: 
  • Debian bookworm is not supported, using bullseye works fine
  • nextpvr-helper.deb relies on having systemd running - which doesn't make sense in Docker
    removing `postinst` from .deb package fixes the issue 
  • /opt/nextpvr/system needs to be added to $PATH in order that scanning for channels works 

Hope that helps someone Smile
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#14
2025-02-12, 02:44 PM
Why would you use the deb file in a Docker none of your statements are correct running natively or running the Docker image.
SickBoy
Offline

Senior Member

Posts: 339
Threads: 53
Joined: May 2005
#15
2025-02-13, 01:13 PM (This post was last modified: 2025-02-13, 01:14 PM by SickBoy.)
(2025-02-12, 02:44 PM)mvallevand Wrote: Why would you use the deb file in a Docker none of your statements are correct running natively or running the Docker image.

He's building his own docker container rather than using the released container - which is a valid (if unsupported here) approach. If I were building my own Docker container - I'd consider using the official zip distribution rather than a deb file, but potato potato....
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Update arm32v7 image on Docker Hub GlowTube 6 726 2025-03-19, 05:02 PM
Last Post: calande
  Errors from pvr.nextpvr in Kodi thecubasekid 3 1,003 2023-08-09, 07:18 PM
Last Post: mvallevand
  Add permission fix for dvb devices to docker image? soosyboosey 0 1,127 2022-11-03, 11:13 PM
Last Post: soosyboosey
  Docker image for WD MYCLOUD OS 5 boucchar 0 2,755 2021-03-22, 04:31 PM
Last Post: boucchar
  IPTV unusable on latest docker image thecubasekid 11 4,296 2020-12-15, 02:33 PM
Last Post: thecubasekid
  Recording options in NextPVR DavidD 2 2,653 2020-06-27, 12:41 PM
Last Post: DavidD
  Docker image version thecubasekid 5 2,997 2020-05-13, 10:31 PM
Last Post: thecubasekid
  Docker image for arm64 billybo8 1 2,446 2020-05-13, 10:10 PM
Last Post: mvallevand
  NextPVR server on CoreELEC using Docker miejscowym 8 4,027 2019-10-17, 06:10 PM
Last Post: miejscowym
  NextPVR seems to reboot daily KyleC_USA 12 5,440 2019-10-07, 08:57 PM
Last Post: KyleC_USA

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode