Skip to content

Apptainer/Singularity

Containers for shared and HPC systems with Apptainer (the Linux Foundation successor to Singularity, which keeps the singularity command) and Sylabs SingularityCE.

  • Introduction to Apptainer/Singularity - Install Apptainer or SingularityCE and use the CLI to pull, shell, exec, run, and inspect container images, including images from Docker Hub.
  • Building Apptainer/Singularity images - Build SIF images from Docker images, sandboxes, and definition files, with the %post, %environment, %runscript, and %labels sections explained.
  • Apptainer/Singularity on HPC - Run containers through a Slurm batch scheduler, match MPI versions between host and container, and use GPUs with the --nv flag.