<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 6, 2014 at 7:16 PM, TuxRaiderPen <span dir="ltr"><<a href="mailto:tuxraiderpen@wpascanner.com" target="_blank">tuxraiderpen@wpascanner.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Tuesday, May 06, 2014 04:49:06 Dirk Geschke wrote:<br>
</blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Any views, opinions, comments in re that LXC might be better, worse, even v. a<br>
VM??? Just curious, as I probably am going the LXC route, as it gives me<br>
another test use case. I found the LXC containers for LAMP dev/testing to be<br>
quite a hit with my group v. a VM setup for them.<br>
<div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div><br></div><div>The first line your original mail says "<span style="font-family:arial,sans-serif;font-size:13px">I am in a situation where I am looking to possibly use LXC as a way to run ONE </span><span style="font-family:arial,sans-serif;font-size:13px">specific program that needs an X desktop". Thus the recommendations about various ways to use lxc and X. First line has a big impact :)</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Anyway, back to your real question. I'm not sure what kind of response you'd expect here. Any particular aspect you're particulary concerned with? ease of use, resource usage, etc?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">You already said you're used to LXC with LAMP, which means you already experience the better resource utilization. Using lxc for a single program (with X forwarding) would pretty much yield the same result: lxc is much more resource-efficient compared to a full-virtualization vm.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Something that is even MORE resource-efficient (though probably not by much) is to simply use chroot, but you'd probably end up with a messier setup security-wise (compared to the unprivileged container example in stephane's blog linked by Dirk earlier).</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">-- </span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Fajar</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div></div></div>