<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Alex Wauck's Blog (lxc)</title><link>https://blog.impulse101.org/</link><description></description><atom:link href="https://blog.impulse101.org/categories/lxc.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Tue, 29 Nov 2016 02:31:42 GMT</lastBuildDate><generator>https://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>LXC</title><link>https://blog.impulse101.org/posts/LXC/</link><dc:creator>Alex Wauck</dc:creator><description>&lt;div&gt;&lt;p&gt;Next time I need to play around with a possibly messy web app installation, I'm going to skip KVM and fire up &lt;a href="https://en.wikipedia.org/wiki/LXC"&gt;LXC&lt;/a&gt;.  I tried it recently to test a PostgreSQL migration strategy on my laptop, and setting up a container (even with all the software I needed to download) didn't take much time at all, even with the crappy Internet connection I was on.  Cloning the container was really quick and easy, too.&lt;/p&gt;
&lt;p&gt;I was surprised to see that Ubuntu's LXC packages come with a fairly wide variety of scripts for installing other Linux distributions inside an LXC container: Arch, Fedora, Debian, OpenSuSE, and a customized Ubuntu install designed for doing cloud stuff.  Neat!&lt;/p&gt;
&lt;p&gt;Since LXC isn't a full virtualization platform, you can't run a custom kernel, and you don't (yet) have as high a degree of isolation, so a malicious root user in a container is (at least theoretically) a threat to the host system, but it's a lot more light-weight, since it basically just uses cgroups to present a constrained view of the system to processes inside the container.  &lt;a href="https://launchpad.net/arkose"&gt;Arkose&lt;/a&gt; uses LXC in a really neat way: it confines programs to limit the damage they can do.  I might try that with Google's music uploader, which I want to use but don't entirely trust.  I wonder how well it could confine an application that needs 3D?  I'd be inclined to do that with Minecraft, especially if mods are involved.&lt;/p&gt;
&lt;p&gt;In short, LXC is a really neat piece of technology, and it's fairly easy to use.  If you need to try something messy on a Linux system, I absolutely recommend it.&lt;/p&gt;&lt;/div&gt;</description><category>lxc</category><guid>https://blog.impulse101.org/posts/LXC/</guid><pubDate>Fri, 09 Nov 2012 18:48:45 GMT</pubDate></item></channel></rss>