Apptainer is package to run containers, similar to docker, and is the successor to singularity.
Documentation
Interactive use
$ module load apptainer [+] Loading apptainer 1.4.0 $ apptainer pull docker://ghcr.io/apptainer/lolcow INFO: Converting OCI blobs to SIF format INFO: Starting build... INFO: Fetching OCI image... 27.2MiB / 27.2MiB [======================================] 100 % 28.1 MiB/s 0s 45.8MiB / 45.8MiB [======================================] 100 % 28.1 MiB/s 0s INFO: Extracting OCI image... INFO: Inserting Apptainer configuration... INFO: Creating SIF file... INFO: To see mksquashfs output with progress bar enable verbose logging $ apptainer exec lolcow_latest.sif cowsay moo < moo > ----- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
Alternatively, this can be done in one step.
$ module load apptainer [+] Loading apptainer 1.4.0 $ apptainer run docker://sylabsio/lolcow:latest INFO: Converting OCI blobs to SIF format WARNING: 'nodev' mount option set on /tmp, it could be a source of failure during build process INFO: Starting build... INFO: Fetching OCI image... 45.8MiB / 45.8MiB [======================================] 100 % 0.0 b/s 0s 27.2MiB / 27.2MiB [======================================] 100 % 0.0 b/s 0s INFO: Extracting OCI image... INFO: Inserting Apptainer configuration... INFO: Creating SIF file... INFO: To see mksquashfs output with progress bar enable verbose logging ______________________________ < Thu Jan 30 09:56:32 EST 2025 > ------------------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
Build instructions for those who are curious
$ cd ${ANNOVAR_DATA} $ git clone https://github.com/apptainer/apptainer.git $ cd apptainer $ ./mconfig --prefix=/mnt/nasapps/production/apptainer/1.4.0 $ cd builddir && make && make install $ git clone https://github.com/rfjakob/gocryptfs.git $ cd gocrytpfs $ ./build-without-openssl.bash $ cp gocryptfs /mnt/nasapps/production/apptainer/1.4.0/bin/