Linux Containers (LXC) is a lightweight virtualization technology that allows you to run multiple isolated Linux systems on a single host. LXC provides a user-space interface for the Linux kernel containment features, enabling the creation and management of system or application containers.
## 1. Introduction to LXC
LXC uses Linux kernel features such as cgroups, namespaces, and chroot to create isolated environments without the overhead of full virtualization. This makes LXC more efficient than traditional virtual machines (VMs) in terms of resource usage and startup time.
## 2. Key concepts
- Container: An isolated environment that shares the host's kernel but has its own filesystem, network, and process space.
- Template: A base image used to create new containers.
- Backing store: The storage mechanism used for container filesystems (e.g., directories, block devices, or ZFS datasets).