Skip to content
Base Operating System for building Containers.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Jul 11, 2014


Base Operating System for building Containers.


LXCOs - 0.1-beta is out for testing. Following are the steps for installation. This is aimed at public clouds and can be tested on AMazon EC2. Bare metal iso is on the way.


  • Chef Server
  • Chef Workstation
  • Amazon EC2 Account
  • knife ec2 wrapper on Chef Workstation


  • Clone the repo form
  • git checkout 0.1-beta.
  • Create a github repo with your public keys in a text file "keys". This is safe. Trust me.
  • Modify line 18 with the repository to your keys.
  • knife cookbook upload -o /path/to/lxcos base
  • knife ec2 server create -r "recipe[base::install],recipe[base::configure]" -I ami-7050ae18 --flavor t1.micro -G <security-group> -Z <zone> -x ubuntu -S <keyname> -N <node-name> -i </path/to/key> -K <<AMAZONSECRETKEY> -A <AMAZONACCESSKEY> --ebs-size G
  • Make sure that you have a security group with 22 and 80 open
  • Wait for a while. Amazon micro instances are slow and being free provisioning is more slow.
  • After provisioned, ssh goatos@<ec2-url>
  • Finished.


  • /opt/chef/embedded/bin/ruby /usr/local/bin/create_container.rb <container-name> <container-type> <memoryM> <cpus>
  • lxc-ls --fancy
  • Look at the IP and login as ssh ubuntu@IP. Password is 'ubuntu'
  • Currently container type is only 'lamp-template'
  • Alternatively from the workstation run or from the ubuntu user account on the machine run "sudo chef-client -o "role[haproxy]""
  • This will add a haproxy entry to the container making it reachable by outer world.

TODO(In 0.1)

  1. Make more templates
  2. Improve Create container(Cloning) time/performance


You can’t perform that action at this time.