Monthly Archives: October 2012

Full Ubuntu container confined in a user namespace

I’ve mentioned user namespaces here before, and shown how to play a bit with them. When a task is cloned into a new user namespace, the uids in the namespace can be mapped (1-1, in blocks) to uids on the … Continue reading

Posted in Uncategorized | Tagged , | 9 Comments

deploying multiple (connected) lxc compute nodes – with juju

This post got delayed a bit due to a few unexpected complications. First, it turns out that you cannot connect GRE tunnels in Amazon’s EC2 over the instances’ private addresses. You must use the public addresses. Second, quantal removed the … Continue reading

Posted in Uncategorized | Tagged , , | 4 Comments

Easily making a blockdev available to a container

Often it would be nice to mount an existing (lvm) block device into a container. For instance, to emulate an Amazon ec2 environment, I’d like to have /dev/vdb or /dev/xvdb as a block device. So I wrote a mount hook … Continue reading

Posted in Uncategorized | Tagged | 4 Comments