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
- Check your cluster: module load apptainer (most academic HPC has it).
- Pull a base: apptainer pull docker://python:3.12-slim.
- 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.