[mythtv-users] mythbackend in a docker container
James Abernathy
jfabernathy at gmail.com
Sun Nov 5 15:54:09 UTC 2023
On Sun, Nov 5, 2023 at 10:32 AM 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. 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.
>
Before I moved my production MythTV backend to V34-Master I had it at v33
with a test PC running v34-master during the development of the new
Webapp. To make that simpler, I started using the test backend on that PC
with KVM.
The problem was my test PC was always being rebuilt with the Disto of the
week. I decided to have another SSD installed with all my media on one
partition and all my KVM stuff on the other partition. So to test a new
Distro without having to rebuild Mythtv I just installed the distro,
installed KVM, and add the VM backend from the KVM partition.
With the setup I could even have multiple VMs each with a different distro
from the host to test different versions of Mythtv and install scripts. I
used both Ubuntu with the mythbuntu ppa on one VM and Debian with build
from packages on another. I even tested Archlinux and mythtv from the AUR
on one VM.
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20231105/c6a11ecd/attachment.htm>
More information about the mythtv-users
mailing list