Posts with the tag LXC

Sandboxing on Ubuntu with Arkose using LXC

Arkose can serve to make sandboxing easy on Ubuntu Linux. It uses LXC as technology to isolate programs that you don't trust fully.

On Natty 11.04 the installation is as simple as

sudo apt-get install arkose

Check the links below for more information.

Resources

Read on

[solved] /var/log/syslog missing inside LXC container

This can be solved by simply installing the package syslogd:

su
apt-get install syslogd

resources

...

Read on

Start Linux Containers (LXC) at Startup

/etc/default/lxc

The built in possibility on Ubuntu / Debian is to change the configuration file /etc/default/lxc:

RUN=yes
CONF_DIR=/etc/lxc
CONTAINERS="vm0 vm1"

In this example, vm0 and vm1 are LXC configuration files stored or linked in /etc/lxc. These containers will be started at startup.

custom init script /etc/init.d/lxc

Instead of...

Read on

Create an LXC Application Container using libvirt

LXC application containers are good tools to isolate single applications. Instead of directly creating them using lxc-create you can also create them with libvirt / virsh.

If you have dnsmasq installed and running globally you will get into trouble running net-start default. So follow the advice on http://mytipsandtricson.blogspot.com/2010/12/kvm-failed-to-start-network-default-in.html.
Now let's create...

Read on

Container Virtualization using LXC on Ubuntu

LXC (Linux Containers) is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. LXC does not provide a virtual machine, but rather provides a virtual environment that has its own process and network space. It is similar to a chroot, but offers...

Read on