Difference between revisions of "Apptainer"

From CAC Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 20:25, 24 August 2023


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