Book Image

Containerization with LXC

By : Konstantin Ivanov
Book Image

Containerization with LXC

By: Konstantin Ivanov

Overview of this book

In 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.
Table of Contents (17 chapters)
Containerization with LXC
About the Author
About the Reviewer
Customer Feedback

Appendix A. LXC Alternatives to Docker and OpenVZ

LXC is designed and ideally suited for running full system containers; this means that an LXC instance contains the filesystem of an entire operating system distribution, very similar to a virtual machine. Even though LXC can run a single process, or a replacement of the init system with a custom script, there are other container alternatives that are better suited for executing just a single, self-contained program. In this Appendix, we are going to look at two container implementation alternatives to LXC that can run side by side with LXC – Docker and OpenVZ.