[mythtv-users] mythbackend in a docker container

Paul Gardiner lists at glidos.net
Sun Nov 5 15:30:25 UTC 2023


On 04/11/2023 15:31, James Abernathy wrote:
> 
> 
> On Sat, Nov 4, 2023, 9:28 AM Paul Gardiner <lists at glidos.net 
> <mailto:lists at glidos.net>> wrote:
> 
>     Is anybody here running mythbackend in a docker container and
>     successfully passing through access to PCI and/or USB capture cards?
> 
> 
> I've only done the backend in a VM using KVM/QEMU Libvirt.
> 
> It works great that way with networked tuners. You can also use USB devices.

Maybe I should explore KVM as an option. I'm trying to find a more 
convenient way to deal with updating my linux distribution when new 
versions appear. For ages now, I've been using two servers, one live and 
another to install the new version on and test. I know there has to be a 
better way. I use OpenSUSE because it's the one I know best, going from 
one version of Leap (the name of OpenSUSE's stable releases) to the next 
as they come out. They also have a rolling version called Tumbleweed. I 
wondered about using that, but my mythtv packages wont build for it at 
the moment and, although I may be able to solve that, I worry that it 
might be just the first of many problems if I move to the rolling version.

Latest idea was to use the rolling version as a docker host and run 
mythbackend in containers still using Leap, which would be very easy to 
update in that scenario.

Your post makes me wonder about sticking with Leap versions, and using 
KVM just to allow the new version installation to be performed on the 
live server while the old version is still running. Then maybe with some 
cleverness with grub I can swap to the new version, booting straight 
into it without KVM, not needing KVM again until the next update.

I wonder what others do for this, what must be, very common problem. I'm 
sure I've been making things unnecessarily difficult for all these years 
I've been using two servers.





More information about the mythtv-users mailing list