Apptainer

From CAC Wiki
Revision as of 20:25, 24 August 2023 by Mhanlan (Talk | contribs) (Created page with "__TOC__ '''Apptainer (formerly Singularity)''' Docker is not available on CAC or Compute Canada clusters for security reasons. However, you can convert the dockerimage to ap...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Apptainer (formerly Singularity)

Docker is not available on CAC or Compute Canada 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 Compute Canada page on using Apptainer for QIIME

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

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