[mythtv-users] mythbackend in a docker container

jam jam at tigger.ws
Mon Nov 6 02:38:27 UTC 2023



> On 5 Nov 2023, at 11:30 pm, Paul Gardiner <lists at glidos.net> wrote:
> 
> 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.

Beware! I got bitten thus

I built drivers, needing the kernel stuff, time passed but I had to go back to update a driver that worked with kernel n-2 but not n (v4l API is all over the place)
Eventually I licked wounds, defeated!
Tumbleweed goes not provide previous releases.

Could that relate to mythtv. Like so ..
On tumbleweed n- mythweb worked
On version n it stopped working (python)
Go back to version n-. Yay I’ve got the iso. Unfortuantely zypper won’t play.
No mythweb !!

If you need/want a rolling distro arch looks better (but I’ve not played enough yet)
manjaro or endeverOS may give you a gentler install experience.

The mythtv devs seem to like ubuntu, which I dislike, if you use SuSE then say no more.
But ubuntu experience is works-well, specially if you build packages.

 
> 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.
> 
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-users mailing list