Apptainer — Containers That Clusters Allow

The HPC-native container system (formerly Singularity): rootless, single-file images that run on university clusters where Docker is forbidden.

Official Site https://apptainer.org
Category Code
Pricing Free
Rating ★★★★★ (5/5)

Overview

Apptainer solves Docker’s fatal flaw on shared systems: it runs without root, so cluster admins actually allow it. Images are single .sif files you can copy to any HPC system, and it converts Docker images directly — build anywhere, run on the cluster.

Why researchers use it

  • Cluster-legal — rootless execution is why HPC centres support it
  • Single-file images — a .sif you scp to the cluster like any file
  • Docker-compatible — apptainer pull docker://… converts existing images

Getting started

  1. Check your cluster: module load apptainer (most academic HPC has it).
  2. Pull a base: apptainer pull docker://python:3.12-slim.
  3. Run your pipeline inside: apptainer exec container.sif python analysis.py — with your home directory auto-mounted.

The honest review

Strengths. The reproducibility bridge between laptop and cluster; five-year-old .sif files still run, which is exactly what ‘reproducible after publication’ requires.

Limitations. Building images typically needs a Linux machine (or –fakeroot support); the ecosystem and docs are thinner than Docker’s; macOS/Windows require a VM for building.

When NOT to use this If you never touch an HPC cluster, plain Docker has better tooling and docs — Apptainer’s advantages only materialise where root is forbidden.