ArticleslgStudy

computer science

Apptainer

Apptainer is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Apptainer rather than just read about it. In short: Apptainer (formerly Singularity) is a free and open-source computer program that performs operating system-level virtualization also known as containerization. One of the main uses of Apptainer is to bring containers and reproducibility to scientific computing and the high-performance computing (HPC) world.

Apptainer — main illustration
Apptainer — illustration

Key takeaways

  • Apptainer belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Apptainer to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Apptainer from memory before moving on to harder problems.

Reference excerpt

Apptainer (formerly Singularity) is a free and open-source computer program that performs operating system-level virtualization also known as containerization. One of the main uses of Apptainer is to bring containers and reproducibility to scientific computing and the high-performance computing (HPC) world. The need for reproducibility requires the ability to use containers to move applications from system to system. Using Apptainer containers, developers can work in reproducible environments of their choosing and design, and these complete environments can easily be copied and executed on other platforms. In 2021, the company Sylabs forked the original Singularity project and released SingularityCE. Later that year the community of the Singularity open source project voted to rename itself to Apptainer and also came under the umbrella of the Linux Foundation. In October 2026 the SingularityCE project announced that it was shutting down.

History

Apptainer began as the open-source project Singularity in 2015, when a team of researchers at Lawrence Berkeley National Laboratory, led by Gregory Kurtzer, developed the initial version written in the C programming language and released it under the BSD license. By the end of 2016, many developers from different research facilities joined forces with the team at Lawrence Berkeley National Laboratory to further the development of Singularity. Singularity quickly attracted the attention of computing-heavy scientific institutions worldwide:

Stanford University Research Computing Center deployed Singularity on their XStream and Sherlock clusters National Institutes of Health installed Singularity on Biowulf, their 95,000+ core/30 PB Linux cluster Various sites of the Open Science Grid Consortium including Fermilab started adopting Singularity; by April 2017, Singularity was deployed on 60% of the Open Science Grid network. For two years in a row, in 2016 and 2017, Singularity was recognized by HPCwire editors as "One of five new technologies to watch". In 2017 Singularity also won the first place for the category "Best HPC Programming Tool or Technology". As of 2018, based on the data entered on a voluntary basis in a public registry, Singularity user base was estimated to be greater than 25,000 installations and included users at academic institutions such as Ohio State University and Michigan State University, as well as top HPC centers like Texas Advanced Computing Center, San Diego Supercomputer Center, and Oak Ridge National Laboratory. In February 2018 the Sylabs company, founded by the Singularity author, was announced to provide commercial support for Singularity. In October of that year Sylabs released version 3.0.0 which was a rewrite in the Go programming language.

Apptainer / SingularityCE split

In May 2020 Gregory Kurtzer left Sylabs but retained leadership of the Singularity open source project. In May 2021 Sylabs made a fork of the project and called it SingularityCE. In November 2021 the Singularity open source project joined the Linux Foundation and was renamed to Apptainer. In October 2026 the SingularityCE project shut down.

Features Apptainer is able to support natively high-performance interconnects, such as InfiniBand and Intel Omni-Path Architecture (OPA). Similar to the support for InfiniBand and Intel OPA devices, Apptainer can support any PCIe-attached device within the compute node, such as graphic accelerators. Apptainer also has native support for Open MPI library by utilizing a hybrid MPI container approach where OpenMPI exists both inside and outside the container. These features make Apptainer increasingly useful in areas such as machine learning, deep learning and most data-intensive workloads where the applications benefit from the high bandwidth and low latency characteristics of these technologies.

Integration HPC systems traditionally already have resource management and job scheduling systems in place, so the container runtime environments must be integrated into the existing system resource manager. Using other enterprise container solutions like Docker in HPC systems would require modifications to the software. Docker containers can be automatically converted to stand-alone Apptainer files which can then be submitted to HPC resource managers. Apptainer seamlessly integrates with many resource managers including:

HTCondor Oracle Grid Engine (SGE) SLURM (Simple Linux Utility for Resource Management) TORQUE (Terascale Open-source Resource and QUEue Manager) PBS Pro (PBS Professional) HashiCorp Nomad (A simple and flexible workload orchestrator) IBM Spectrum LSF

See also

Grid computing OverlayFS TOP500

References

Further reading Proceedings of the 10th International Conference on Utility and Cloud Computing: Is Singularity-based Container Technology Ready for Running MPI Applications on HPC Clouds? Singularity prepares version 3.0, nears 1 million containers served daily Dell HPC: Containerizing HPC Applications with Singularity Intel HPC Developer Conference 2017: Introduction to High-Performance Computing HPC Containers and Singularity HPCwire Reveals Winners of the 2017 Readers' and Editors' Choice Awards at SC17 Conference in Denver: Singularity awarded for Best HPC Programming Tool or Technology category

External links Official website Sylabs SingularityCE Singularity@HPCng at the Wayback Machine (archived 2021-11-29) Original Singularity on GitHub through v3.8.7 on Mar 16, 2022 (includes pre-3.0 C versions) Sylabs SingularityCE on GitHub Sylabs fork from original v3.7.3 on May 10, 2021 Apptainer on GitHub Linux Foundation fork with new versioning from 0.1.0 on Dec 10, 2021

Illustrations

Apptainer illustration
Apptainer: Usage workflow for Singularity containers
Usage workflow for Singularity containers
Apptainer illustration
Apptainer illustration
Apptainer illustration

Worked examples

Example 1 — a first encounter with Apptainer

Start with the simplest possible case. Write down what Apptainer claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Apptainer before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Apptainer ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Apptainer

In research
Apptainer appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Apptainer in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Apptainer is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free software programmed in Go, Linux Foundation projects, Linux containerization, so understanding it makes those chapters shorter.
In everyday life
Look for Apptainer outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Apptainer” →

How to study Apptainer in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Apptainer means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Apptainer out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Apptainer in simple terms?

Apptainer (formerly Singularity) is a free and open-source computer program that performs operating system-level virtualization also known as containerization. One of the main uses of Apptainer is to bring containers and reproducibility to scientific computing and the high-performance computing (HP…

Why does Apptainer matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Apptainer?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Apptainer.

Tags

  • Free software programmed in Go
  • Linux Foundation projects
  • Linux containerization
  • Operating system security
  • Operating system technology
  • Software using the Apache license
  • Software using the BSD license
  • Virtualization software
  • Virtualization software for Linux

Keep exploring