Skip to main content
v2026.11,772 entries · CC-BY 4.0

Direct comparison

Apptainer vs Docker for HPC Research

Apptainer vs Docker compared: privilege model, HPC scheduler support, image format, GPU access, and which to use for reproducible research computing.

Written and maintained by CASRAI Editorial Board

Last updated

Ask CASRAI · included with Regulatory Radar

Ask about Apptainer vs Docker for HPC Research

Ask CASRAI answers research-administration questions and cites the passages behind every claim — and says so when the corpus does not cover something, instead of guessing. It comes with a Regulatory Radar subscription at $29 a month, alongside the daily digest of regulatory changes and the dashboard of what changed.

150 questions a day, on this site, over the API, or inside your own tools through the CASRAI MCP server.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

How do Apptainer, Docker compare side by side?

The table below compares Apptainer, Docker across 10 procurement-relevant dimensions, from primary design target through best fit.

Side-by-side comparison

DimensionApptainerDocker
Primary design targetShared, multi-tenant HPC clustersSingle-user dev machines, cloud VMs, CI/CD
Privilege modelRootless by default — same user inside and outside the containerRoot-owned background daemon (dockerd); container processes commonly run as root
ArchitectureNo persistent daemon; runs as the invoking user's processClient-server: CLI talks to a long-running daemon
Image formatSIF (Singularity Image Format) — single immutable fileLayered image (union filesystem), multiple stored layers
GovernanceLinux Foundation project since Nov 2021, Technical Steering CommitteeDocker, Inc. (commercial); Moby is the open-source upstream
HPC scheduler integrationNative integration with Slurm, PBS, LSFNone native — pairs with Kubernetes/Swarm instead
GPU accessDirect passthrough (--nv for NVIDIA, --rocm for AMD)Via NVIDIA Container Toolkit / --gpus flag
Runs the other's images?Yes — pulls/converts Docker/OCI images directlyNo — cannot run a SIF file
Default filesystem behaviorRead-only by default; host paths bind-mounted inWritable container filesystem by default
Best fitReproducible pipelines on shared research computing clustersApp development, microservices, CI/CD, cloud deployment

Common questions

Common questions about Apptainer vs Docker

Is Apptainer the same thing as Singularity?

+

Effectively yes, with a governance change. Apptainer is the direct continuation of the Singularity project under Linux Foundation governance since November 2021, and remains command-line compatible. SingularityCE is Sylabs’ separate, continuing commercial fork.

Can I just use Docker on our university HPC cluster?

+

Almost certainly not — most shared academic clusters disallow Docker because its daemon requires root, which a multi-tenant cluster cannot safely grant every user. Apptainer exists specifically to avoid that requirement.

Can Apptainer run an existing Docker image without changes?

+

Yes, in most cases. Apptainer pulls Docker/OCI images directly (apptainer pull docker://...) and converts them to a SIF file automatically. Images that assume root-owned processes at runtime may need adjustment.

Which should a new lab standardize on?

+

Build with Docker (or a compatible tool) for the broad base-image ecosystem, and run on shared HPC compute with Apptainer to satisfy cluster security requirements — most research groups end up using both, at different stages.

Does switching from Docker to Apptainer change my results?

+

It shouldn't, if the container's software environment (dependencies, versions, OS base layer) is unchanged — both are running the same binaries in a namespaced environment. The National Academies' distinction between reproducibility (same data, same methods, consistent results) and replicability (new study, same question) is the relevant framing: preserving the exact container image, not the choice of runtime used to execute it, is what protects computational reproducibility.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →

Regulatory Radar

Stop finding out after the fact

$29/month, cancel anytime. Daily digest updates from our analysis, a dashboard holding the same items, and a cited assistant for everything they raise.

  • Federal Register, Federal Register+, Grants.gov, Regulations.gov, NSF News, UKRI, plus CASRAI’s own published content.
  • 72,264 indexed passages, and every answer cites the ones it drew on.