NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 3 4 5 6 7 … 9 Next »
NextPVR in 2 containers

 
  • 0 Vote(s) - 0 Average
NextPVR in 2 containers
bigoldboy
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Dec 2017
#1
2021-05-23, 10:05 PM
I have had NextPVR running well in a docker container on my QNAP NAS for almost a year. I am wanting to launch a second container for some testing of stream recording. I figured it would be build a second container identical to the first, but with the port assignment 8866:8888 and access it that way. But not working. It spins up, builds the config file and npvr.db3 etc but I can't access it via <myip>:8888.  Thoughts?

Actual config is:
version: '3'
services:
  nextpvr:
    image: nextpvr/nextpvr_amd64Confusedtable
    container_name: testing-nextpvr
    network_mode: host
    environment:
      - PUID=0
      - PGID=0
      - VERSION=docker
    volumes:
      - /share/Cloud/NextPVR/recordings:/recordings
      - /share/Cloud/NextPVR/buffer:/buffer
      - /share/Cloud/NextPVR/config:/config
    ports:
      - 8866:8888
    restart: unless-stopped
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2021-05-23, 10:10 PM
Have you got that port mapping the right way around? I thought it was the other way. ie, 8888:8866 so that if you try accessing port 8888, it's mapping to port 8866 within the container.
bigoldboy
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Dec 2017
#3
2021-05-23, 11:28 PM
(2021-05-23, 10:10 PM)sub Wrote: Have you got that port mapping the right way around? I thought it was the other way. ie, 8888:8866 so that if you try accessing port 8888, it's mapping to port 8866 within the container.

You are correct. Tried it both ways (8888:8866 and 8866:8888) and neither worked. Then I stopped the original container and I the could connect on port 8866 to the second container!  Hmm. So then I set the second container to 8888:8888 and changed to <Port>8888</Port> in config.xml and poof, original on port 8866 and second on 8888!

Then I thought, what if both containers had 8866:8866 and, they both work, one on 8866 and one on 8888 even though both containers map 8866:8866. Makes zero sense to me. It is like the port mapping in the container is ignored.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPvr Instance Unresponsive itsnotjeff 6 274 2025-04-15, 04:57 PM
Last Post: mvallevand
  Error detecting HDHR devices with marklambert/nextpvr-ccextractor SickBoy 16 756 2025-03-23, 08:52 PM
Last Post: sub
  Current guide for NextPVR docker on Unraid? wapkaplet 1 655 2024-12-20, 02:40 AM
Last Post: wapkaplet
  Modification to the NextPVR Image DockerFile thelanofvilles 5 482 2024-12-15, 07:30 PM
Last Post: thelanofvilles
  NextPVR with Docker and Fritzbox icompas 9 557 2024-12-12, 02:50 PM
Last Post: icompas
  Add Intel iHD Driver to Docker Image for NextPVR thelanofvilles 8 1,241 2024-06-16, 08:10 PM
Last Post: thelanofvilles
  nextpvr video file help on nas Houghton19@gmail.com 4 1,006 2023-11-23, 09:34 PM
Last Post: Houghton19@gmail.com
  nextpvr Import failed. Not logged in. XM55 4 2,969 2023-08-08, 08:35 PM
Last Post: XM55
  Getting guide data for Kodi and NextPVR on Synology NAS NewUser 2 1,263 2023-01-02, 04:42 PM
Last Post: sub
  TrueNAS Scale - NextPVR asw2012 24 4,132 2022-09-28, 09:01 PM
Last Post: Tugdwal

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

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

Linear Mode
Threaded Mode