Linux Containers (LXC) is a userspace interface for operating system-level virtualization features in the mainline Linux kernel, such as kernel namespaces and control groups (cgroups). These allow multiple distinct user space instances to be run on a single kernel. Note: the 3 letters "lxc" command is part of LXD, not LXC. Please use the LXD tag if your question is about LXD rather than only about LXC.
Linux Containers (LXC) provides userspace tools for operating system-level virtualization features in the Linux kernel. It allows multiple distinct user space instances, commonly referred to as containers, to be run on a single kernel instance.
LXC differs from other operating system-level virtualization solutions for Linux, such as OpenVZ and Linux-VServer, in that LXC relies entirely on kernel features available in the mainline kernel. Processes are contained via the use of:
- Kernel namespaces
- Control groups
- Mandatory Access Control Linux Security Modules (Apparmor, SELinux)
- Seccomp sandboxing
- Chroot jails
- Kernel capabilities