LXC

LXC is a well-known Linux container runtime that consists of tools, templates, and library and language bindings.

  • Development
  • Infrastructure
  • Plugins
  • Productivity
  • Tools & Utilities
LXC is a well-known Linux container runtime that consists of tools, templates, and library and language bindings. It's pretty low level, very flexible and covers just about every containment feature supported by the upstream kernel. LXC (Linux Containers) is similar to Docker but with a key difference: while Docker abstracts away much of the system maintenance, LXC gives users greater control and responsibility over managing their environments. This allows for more customization and fine-tuning, making it ideal for users who prefer a hands-on approach.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

77/100 Good

Maintained
100last commit 9 days ago
Popular
745,299 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data
Security check
86no serious findings, CI, tests, OpenSSF Scorecard 7.3/10

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
5,299
Open issues
170
Last commit
2026-11-12
Latest release
v7.0.0
Activity
steady

Checked today - source: GitHub (lxc/lxc)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Start LXCFS at the default mount point Run `sudo lxcfs /var/lib/lxcfs` so LXCFS can publish its special /proc and /sys files in that folder. Without this, containers may see wrong CPU/memory information and resource limits may not work as expected. source

Fetched 48 days ago - each note links to its source

Alternatives (6)

  • Davit - Fully native macOS interface for running Linux containers on Apple silicon, with direct daemon communication, one-click terminals, live sta…
  • Distrobox - Use any Linux distribution inside your terminal.
  • Docker - Docker (Moby) is the open-source engine that builds and runs containerized applications, forming the foundation of the Docker ecosystem for…
  • Docker Desktop - Docker Desktop is a one-click-install application that lets you to build, share, and run containerized applications and microservices.
  • KVM (Kernel-based Virtual Machine) - KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (In…
  • Kata Containers Runtime - Kata Containers Runtime is an Unraid plugin that installs Kata Containers, an open-source virtual-machine-based runtime for Docker and OCI-…

Checked 54 days ago - source: AlternativeTo

Common questions

Do LXC system containers need their own kernel?

No, LXC system containers use the host kernel while providing an environment close to a virtual machine. This avoids the overhead of running a separate kernel and simulating hardware.

What does an unprivileged LXC container need on the host?

It needs kernel support for user namespaces and setuid helpers such as lxc-user-nic, newuidmap, and newgidmap. These helpers map container UIDs and GIDs to unprivileged host values and create network devices.

How can I make LXC see correct CPU and memory for resource limits?

Run LXCFS with sudo lxcfs /var/lib/lxcfs to publish its special /proc and /sys files. Without this mount, containers may report incorrect CPU and memory information, and resource limits may not work as expected.

Can I run LXC on Debian without LXD?

Some self-hosters use LXC directly to host services instead of Docker or Podman. LXD is a common LXC manager, but it is not available on Debian via apt and snap installation can cause problems.

Where should I ask LXC setup questions?

The Linux Containers forum is intended for support questions, feature discussion, and sharing usage of LXC, LXD, and LXCFS.

Answers sourced from discuss.linuxcontainers.org, github.com, github.com, www.reddit.com

Community

Collected 48 days ago - public community threads