User interface terminal UI LXC python3 linux container manager
Using lxc-ui.py you can:
containers. UI is created using curses library and looks almost like midnight commander.
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
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 $$
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.
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