[lxc-users] DRI in LXD
Pete Osborne
pete at pwo.ca
Tue Mar 1 16:31:17 UTC 2016
Yes, this is what I am looking for, thanks.
Pete
On Tue, Mar 1, 2016 at 11:26 AM, Tycho Andersen <
tycho.andersen at canonical.com> wrote:
> On Tue, Mar 01, 2016 at 08:58:16AM -0500, Pete Osborne wrote:
> > Hi,
> >
> > I've been using LXD for a few months now and really like how it's shaping
> > up. I would like to know if it's possible to run opengl applications
> within
> > an LXD container sharing the hosts' X server? The primary function is to
> > build and test Qt5 based applications that use open gl.
> >
> > I've found several guides on how to set it up in an LXC container but i'd
> > prefer to use LXD. I'm using a privielged container, and I attempted
> > creating all the device files (/dev/dri/card0, /dev/video0, dev/nvidia*,
> > /dev/fb0, dev/tty* ) from withing my container using mknod, but I think I
> > need some way of using a bind mount.
> >
> > Can anyone provide some advice?
>
> You probably want LXD's device configuration, it is detailed here:
>
>
> https://github.com/lxc/lxd/blob/master/specs/configuration.md#devices-configuration
>
> Tycho
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160301/a38bf029/attachment.html>
More information about the lxc-users
mailing list