Apptainer

From CAC Wiki
Jump to: navigation, search


Apptainer (formerly Singularity)

Docker is not available on CAC or Alliance clusters for security reasons. However, you can convert the dockerimage to apptainer

e.g.

module load apptainer
apptainer build kissplice.sif docker://dwishsan/kissplice-pipeline

This build the image "kissplice.sif" {you can choose another name}.

Once the image is ready, you can use it for your jobs:

module load apptainer/1.2.2

apptainer exec -B /home -B /project -B /scratch -B /localscratch/global/home/<your_Username>/kissplice.sif kissplice {+options and/or argments if any}

For more info and examples of binding directories, check out the Alliance page on using Apptainer and QIIME

https://docs.alliancecan.ca/wiki/Apptainer

https://docs.alliancecan.ca/wiki/QIIME