The lxc-frontend
is a small Sinatra app which was created to speed-up the monitoring and management of LXC containers.
In Evrone we're using it with Ubuntu 12.04 and the default path to containers is defined in frontend.rb.
- the user which runs the Sinatra app should have sudo permissions without a password prompt
- LXC containers configs should have a write permission under the app. It can be fixed by assigning the
a+w
rule to container config and rootfs/network/interfaces files
You can start/stop/restart any container, change the container config and network interfaces. NB: it's an interface to lxc-ruby gem.
End with an example of getting some data out of the system or using it for a little demo
- Download the app:
git clone ...
- Add a capistrano receipe. You can use Evrone's template as an example: deploy.rb
- You may add the project with capistrano files into the private git repo to share it inside your company.
cap deploy:cold
Please read Code of Conduct and Contributing Guidelines for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
The changelog is here.
- Kir Shatrov - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License.