Linux Containers (LXC)

Linux Containers (LXC)

LXC is an operating-system-level virtualization method for running multiple isolated Linux systems on a control host using a single Linux kernel.

Linux containers, in short, contain applications in a way that keep them isolated from the host system that they run on. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. LXC (Linux Containers) lets you run a Linux system within another Linux system.

LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.


Features:

• Kernel namespaces (ipc, uts, mount, pid, network, and user)

• Apparmor and SELinux profiles

• Seccomp policies

• Chroots (using pivot_root)

• Kernel capabilities

• CGroups (control groups)

• Nested Containers


LXC containers are often considered as something in the middle between a chroot and a full-fledged virtual machine. The goal of LXC is to create an environment as close as possible to a standard Linux installation but without the need for a separate kernel.





Relevant Blogs:

Dockerfile 

Docker compose installation  

Boost ansible playbook speed 

Kubernetes monitoring

Recent Comments

No comments

Leave a Comment