3.2. apptainer#

  • An open-source program enabling operating system virualization (i.e. containerization)

  • Creates a flexible OS environment resulting in portability and reproducibility of softwares

  • Specificaly develop at Lawerence Berkeley National Lab to simplify the process of running applications on HPC clusters

  • link?

3.3. Apptainer#

  • containers for softwares

3.3.1. Build#

sudo apptainer build ubuntu.sif ubuntu.def
sudo apptainer build --sandbox /tmp/ubuntu docker://ubuntu:22.04

3.3.2. Run#

apptainer shell ubuntu.sif
apptainer shell --contain --cleanenv ubuntu.sif 
apptainer run ubuntu.sif pwd
apptainer exec ubuntu.sif apt update