Jump to ratings and reviews
Rate this book

Containerization with LXC

Rate this book
Key FeaturesGet the most practical and up-to-date resource on LXC and take full advantage of what Linux containers can offer in the day-to-day operations of large-scale applicationsLearn how to deploy and administer various workloads such as web applications inside LXCSave your organization time and money by building robust and secure containers and by speeding the deployment process of your softwareBook DescriptionIn recent years, containers have gained wide adoption by businesses running a variety of application loads. This became possible largely due to the advent of kernel namespaces and better resource management with control groups (cgroups). Linux containers (LXC) are a direct implementation of those kernel features that provide operating system level virtualization without the overhead of a hypervisor layer.

This book starts by introducing the foundational concepts behind the implementation of LXC, then moves into the practical aspects of installing and configuring LXC containers. Moving on, you will explore container networking, security, and backups. You will also learn how to deploy LXC with technologies like Open Stack and Vagrant. By the end of the book, you will have a solid grasp of how LXC is implemented and how to run production applications in a highly available and scalable way.

What you will learnDeep dive into the foundations of Linux containers with kernel namespaces and cgroupsInstall, configure, and administer Linux containers with LXC and libvirtBegin writing applications using Python libvirt bindingsTake an in-depth look at container networkingSet up monitoring and security with LXCBuild and deploy a highly available application with LXC in the cloudAbout the AuthorKonstantin Ivanov is a Linux systems engineer, an open source developer, and a technology blogger who has been designing, configuring, deploying, and administering large-scale, highly available Linux environments for more than 15 years.

His interests include large distributed systems and task automation, along with solving technical challenges involving multiple technology stacks.

Konstantin received two MS in Computer Science from universities in Bulgaria and the United States, specializing in system and network security and software engineering.

In his spare time, he loves writing technology blogs and spending time with his two boys. He can be reached on LinkedIn at or on his blog at

Table of ContentsIntroduction to Linux ContainersInstalling and Running LXC on Linux SystemsCommand-Line Operations Using Native and Libvirt ToolsLXC Code Integration with PythonNetworking in LXC with the Linux Bridge and Open vSwitchClustering and Horizontal Scaling with LXCMonitoring and Backups in a Containerized WorldUsing LXC with OpenStackLXC Alternatives to Docker and OpenVZ

352 pages, Kindle Edition

Published February 28, 2017

5 people are currently reading
11 people want to read

About the author

Konstantin Ivanov

18 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (40%)
4 stars
2 (40%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
1 (20%)
Displaying 1 of 1 review
379 reviews10 followers
April 22, 2018
This book covers a lot and is a very good introduction to LXC.

The only downside is its size: sometimes it's easy to miss a detail, as it's embedded in screenfuls of configuration files dumps, and often it just scratches the surface of what can be done, and you need to search elsewhere to find what the other possibilities are.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.