2019-06-15, 05:39 AM
Installing using Docker
This method is likely to be used for installation on NAS devices, or distros like LibreELEC. Running in a docker container NextPVR supports IPTV, HDHomeRun and digital tuners (DVB-T, DVB-C, DVB-S, ATSC and QAM).
On 64bit Intel machines, install the container image from Dockerhub using:
Updating to a new release
If you already running NextPVR, and a new release is available, and you'd like to update, you'd typically run the same command again:
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:
--restart unless-stopped is telling docker to restart it if it crashes
--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.
--publish 16891:16891/udp can help with auto discovery from some client applications.
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):
If you need to use docker-compose, you can create a docker-compose.yml to achieve the same thing:
With NextPVR running, your can access the browser interface on port 8866. The default login is admin/password.
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
This method is likely to be used for installation on NAS devices, or distros like LibreELEC. Running in a docker container NextPVR supports IPTV, HDHomeRun and digital tuners (DVB-T, DVB-C, DVB-S, ATSC and QAM).
On 64bit Intel machines, install the container image from Dockerhub using:
Code:
sudo docker image pull nextpvr/nextpvr_amd64:stable
Updating to a new release
If you already running NextPVR, and a new release is available, and you'd like to update, you'd typically run the same command again:
Code:
sudo docker image pull nextpvr/nextpvr_amd64:stable
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 \
--name nextpvr \
--volume /home/pi/config:/config \
--volume /home/pi/videos:/recordings \
--volume /home/pi/videos:/buffer \
--restart unless-stopped \
--publish 16891:16891/udp \
--publish 8866:8866 \
nextpvr/nextpvr_amd64:stable
--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.
--publish 16891:16891/udp can help with auto discovery from some client applications.
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
If you need to use docker-compose, you can create a docker-compose.yml to achieve the same thing:
Code:
version: '3.5'
services:
nextpvr:
image: nextpvr/nextpvr_amd64:stable
container_name: nextpvr
environment:
- PUID=1000
- PGID=100
- TZ=Europe/london
ports:
- 8866:8866
- 16891:16891/udp
volumes:
- d:/docker/config:/config
- d:/docker/recordings:/recordings
- d:/docker/buffer:/buffer
restart: 'unless-stopped'
With NextPVR running, your can access the browser interface on port 8866. The default login is admin/password.
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