Sharing WinTV-dualHD from Ubuntu host with container

Trying to share a wintv-dualHD USB tuner with a docker container via the --device option and I have been unsuccesful so far…

-running an ubuntu 18.04 host of course with the modified kernel for the tuner.
-running the official plex docker container (plexpass version)
-sharing via --device=/dev/dvb:/dev/dvb --device=/dev/usb:/dev/usb even tried with -v /sys/devices:/sys/devices
in the docker run command

  • the user running plex is part of the docker and video groups
  • I have tried to chown -R the /dev/dvb dir to user:docker or user:user

The logs are just telling me that is is unable to open the frontend…

Jun 09, 2018 22:13:35.209 [0x7fb16887c700] WARN - [E] v4l::DeviceGetList_impl. open failed on frontend /dev/dvb/adapter0/frontend0 (13)
Jun 09, 2018 22:13:35.209 [0x7fb16887c700] WARN - [E] v4l::DeviceGetList_impl. open failed on frontend /dev/dvb/adapter1/frontend0 (13)

does anyone have any other suggestions?

Th tuner does work and is found if I run plex directly on the host withh the .deb install…

and no the container and the host installed plex are not running at the same time

For USB devices, you may need to share the udev device(s) with the container as well.

Seems it is simply not working with Ubuntu 18.04 yet, I down graded the host to 16.04 and it works right off with just sharing /dev/dvb

this worked like a charm