LXC farm manager

User interface terminal UI LXC python3 linux container manager

Compact and secure tool for managing LXC containers.

Using lxc-ui.py you can:

containers. UI is created using curses library and looks almost like midnight commander.

It can be used on server with very strict security policy. When external access is not allowed.

INSTALATION

apt-get update
apt-get install python3-lxc
apt-get install git
git clone https://github.com/pymag09/lxc-ui.git
sudo ./lxc-ui.py

UNPRIVILEGED CONTAINERS

sudo apt-get update
sudo apt-get install -y cgmanager-utils lxc
mkdir ~/.config && mkdir ~/.config/lxc

Create default.conf file with the following content:

lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
lxc.id_map = u 0 100000 65536
lxc.id_map = g 0 100000 65536

And /etc/lxc/lxc-usernet with:

[your username] veth lxcbr0 10

Next:

sudo cgm create all $USER
sudo cgm chown all $USER $(id -u) $(id -g)
cgm movepid all $USER $$

ENVIRONMENT

Ubuntu is recommended for running lxc-ui.py.
Tested on ubuntu 14.04. It has all that you need to run lxc manager in the repository.

IMPORTANT

If you have found any bugs please report them here: Issues
All previous commits are here: Commits
In case of serious problem with bugs don't hesitate to switch to previous commit

SCREENSHOTS

Main Screen
Interface properties
Create new container
General properties
Rename