Tux Containers - Make LXC easy for test-and-deploy
Linux Containers (LXC) are an awesome way to isolate processes and create efficient and flexible virtual machines with Linux. Tux Cargo aims at building an easy way to configure and deploy LXC virtual machines.
Main objectives are :
- Creating new virtual machines with a NAT network configuration, the next IP available on your virtual network, your favourite packages, your public ssh key and VIM settings, a preconfigured user, NGinx virtual hosts, iptables rules, ...
- Deploying a virtual machine to a host and automatically reconfigure it for the new environment (network setup, NGinx virtual hosts, iptables rules, ...)
# txc create djangoblog
# ssh djangoblog.vm
(customizing machine...)
# txc deploy djangoblog host.superserver.net -h blog.mysite.net
# txc clone wordpressblog
(configuring machine...)
# txc deploy wordpressblog host.superserver.net -h otherblog.mysite.net
- Configure network interfaces (NAT, ip forwading, ...)
- Load and create config for new machine
- Generate builder from template (IP, iface, packages, ...)
- Run image builder
- Create user, add ssh authorized keys
- Host: configure iptables, nginx
- Make sure vm is stopped
- Rsync vm (or zip)
- Configure server
- Launch on server
- Pour info, je n'ai encore réussi qu'à créer correctement des conteneurs Debian (0kso)
(c) Copyright 2012 okso.me . Some Rights Reserved.
This work is licensed under Free Software Foundation's GNU AGPL v3.0.