First, you need to install SNSTER, the framework used by MI-LXC.
Then, to populate and use MI-LXC, you need to go in the mi-lxc/topology
directory and run snster create
.
The vagrant
subdirectory contains a Vagrantfile
suited to generate a VirtualBox VM running MI-LXC inside. You need to install Vagrant and then, in the vagrant
subdirectory, run vagrant up
. You can then login as root/root. MI-LXC is installed in /root/mi-lxc
and already provisionned (no need to create
, you can directly start
).
- Manipulation of LXC containers (no unprivileged LXC usage yet)
- Management of virtual ethernet bridges with
brctl
,ifconfig
andiptables
(in mi-lxc.py:createBridges() and mi-lxc.py:deleteBridges(), around line 324) - Increase of fs.inotify.max_queued_events, fs.inotify.max_user_instances and fs.inotify.max_user_watches through
sysctl
(in mi-lxc.py:increaseInotify(), around line 278)
This is not ideal but is currently needed. An issue is opened on the topic but it is not currently planned.