SDB Talk:LXC

Jump to: navigation, search

I'm testing the "lxc-opensuse" template at the moment. It looks like (on a 64-bit machine) you simply

1. Log in to the openSUSE 12.1 host as "root".

2. Create a directory for the container's name, for example

  # mkdir -p /container

3. Think up a name, for example, "Victim".

4. Type

  # /usr/lib64/lxc/templates/lxc-opensuse -p /container -n Victim

and watch.

It threw a lot of errors towards the end, but it does appear to have populated /container with config, fstab and the rootfs tree. M. Edward (Ed) Borasky aka znmeb 11:51, 28 April 2012 (MDT)