2019-06-15, 05:44 AM
Installing using Docker
A Docker image is available for users with 32bit ARM devices. The most common device of this type is the Raspberry Pi 3, often running either Raspbian or LibreELEC. Running in this container NextPVR supports IPTV, HDHomeRun, digital tuners (DVB-T, DVB-C, DVB-S, ATSC and QAM), or SAT>IP (DVB-S, DVB-T, DVB-C)
Install the container from Dockerhub using:
Running the application with Docker
For the docker application to be able to stop channel lists and settings, that survive reboots, it needs to store it's use data in a location outside the docker container. It stores this information in the /config directory in the container, which you can map to a location outside of the container. To run the application interactively, so you can see the server output, with the configuration sent to the 'config' directory off your home ("~/config"), run the following command:
--volume /home/pi/config:/config is telling it where to save your configuration
--volume /home/pi/videos:/recordings is telling it where to save your recordings
--volume /home/pi/videos:/buffer is telling it where to save your live tv buffer files
--publish 8866:8866 is telling docker to map port 8866 (on the host machine) to port 8866 inside the the docker container.
If you're using an older legacy HDHomeRun, you'll also need these (with 192.168.1.51 replaced with your host's IP address):
For info on how to get docker to auto start NextPVR after a reboot or crash, see here:
https://forums.nextpvr.com/showthread.ph...-questions
A Docker image is available for users with 32bit ARM devices. The most common device of this type is the Raspberry Pi 3, often running either Raspbian or LibreELEC. Running in this container NextPVR supports IPTV, HDHomeRun, digital tuners (DVB-T, DVB-C, DVB-S, ATSC and QAM), or SAT>IP (DVB-S, DVB-T, DVB-C)
Install the container from Dockerhub using:
Code:
sudo docker image pull nextpvr/nextpvr_arm32v7
Running the application with Docker
For the docker application to be able to stop channel lists and settings, that survive reboots, it needs to store it's use data in a location outside the docker container. It stores this information in the /config directory in the container, which you can map to a location outside of the container. To run the application interactively, so you can see the server output, with the configuration sent to the 'config' directory off your home ("~/config"), run the following command:
Code:
docker run -d \
--volume /home/pi/config:/config \
--volume /home/pi/videos:/recordings \
--volume /home/pi/videos:/buffer \
--publish 8866:8866 \
nextpvr/nextpvr_arm32v7:stable
--volume /home/pi/videos:/recordings is telling it where to save your recordings
--volume /home/pi/videos:/buffer is telling it where to save your live tv buffer files
--publish 8866:8866 is telling docker to map port 8866 (on the host machine) to port 8866 inside the the docker container.
If you're using an older legacy HDHomeRun, you'll also need these (with 192.168.1.51 replaced with your host's IP address):
Code:
--env HOST_IP=192.168.1.51 \
--publish 8020-8030:8020-8030/udp
For info on how to get docker to auto start NextPVR after a reboot or crash, see here:
https://forums.nextpvr.com/showthread.ph...-questions