Skip to main content

Apptainer

Introduction to Apptainer

Apptainer is a lightweight and secure container platform designed specifically for high-performance computing (HPC) environments. It allows users to package applications and their dependencies into portable, reproducible containers that can run seamlessly across different systems. Apptainer is particularly well-suited for scientific workflows, enabling researchers to share and execute their software environments without worrying about compatibility issues.

Apptainer ensures security by running containers as non-root users, making it a preferred choice for multi-user HPC systems. It supports integration with existing HPC schedulers and file systems, making it easy to incorporate into your workflows. For more details, visit the official Apptainer documentation.

Using Apptainer with Modules

To use Apptainer on the terrabyte HPC system, load the Apptainer module with the following command:

# consider adding the module use line to your ~/.bashrc to always make terrabyte modules available 
module use /dss/dsstbyfs01/pn56su/pn56su-dss-0020/usr/share/modules/files/
module load apptainer

Usage Examples

Once loaded, you can execute Apptainer commands such as running containers, building images, or managing containerized workflows. For example, to run a container:

apptainer run <container_image.sif>

For additional usage instructions, refer to the Apptainer documentation.