Apptainer vs LXC
Apptainer
apptainer.orgLXC
linuxcontainers.orgSide by side
| Figure | Apptainer | LXC |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Container Engines | 8.9 (#1) | 7.6 (#15) |
| Spec score · Container Runtime Software | 8.9 (#1) | 7.6 (#17) |
| Purpose | Apptainer creates and runs containers that package software for portability and reproducibility. | LXC is a userspace interface to Linux kernel containment features for creating and managing system or application containers. |
| Security model | By default, users retain the same identity inside the container and cannot gain additional host privileges. | The project describes unprivileged containers as safe by design because container root maps to an unprivileged user outside the container. |
| Security reporting | The Technical Steering Committee manages project security, and the policy directs vulnerability reports through private contact with the project. | Security issues can be reported by email to the project security address or through a private GitHub security advisory. |
Plans
In their own words
Apptainer
Apptainer is a free container platform for creating and running portable, reproducible workloads, with a focus on shared systems and high-performance computing. It packages containers as immutable, single-file Singularity Image Format (SIF) images designed for transport and sharing. By default, users retain the same privileges inside and outside containers. Images can be signed and verified with PGP keys, PEM keys or X.509 certificates, and encrypted containers can run without writing decrypted contents to disk. Apptainer imports containers from OCI registries and aims to support most Docker Hub containers without changes. It can expose host resources such as GPUs, high-speed networks and parallel filesystems, and supports NVIDIA CUDA, AMD ROCm, Intel Gaudi and OCI Container Device Interface accelerators. Running Apptainer requires Linux; Windows and macOS need a Linux virtual machine, with Windows also listed via WSL2. Root access is unnecessary when user namespaces are available. Full functionality requires kernel support for FUSE and unprivileged user namespaces. Community support includes Slack, Google Groups and GitHub, with commercial services through CIQ.
LXC
LXC is free software for creating and managing Linux system or application containers through Linux kernel containment features. It aims to make each container resemble a standard Linux installation without a separate kernel. The project includes the liblxc library, container control tools, distribution templates and API bindings for Python 3, Lua, Go, Ruby and Haskell. Process containment uses kernel namespaces, AppArmor and SELinux profiles, seccomp policies, chroots, kernel capabilities and cgroups. Unprivileged containers map container root to an unprivileged host user. LXC is included in most Linux distributions and is generally installed through the distribution package manager. Listed requirements include a supported C library and Linux kernel 2.6.32 or later. LXC 7.0 and 6.0 are listed as long-term support releases through June 1, 2031 and June 1, 2029. Most code uses GNU LGPLv2.1+, with some BSD 2-clause or GNU GPLv2 components.