Difference between revisions of "Apptainer"

From CAC Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
'''Apptainer (formerly Singularity)'''
 
'''Apptainer (formerly Singularity)'''
  
Docker is not available on CAC or Compute Canada clusters for security reasons. However, you can convert the dockerimage to apptainer  
+
Docker is not available on CAC or Alliance clusters for security reasons. However, you can convert the dockerimage to apptainer  
  
 
e.g.
 
e.g.
Line 18: Line 18:
 
</pre>
 
</pre>
  
For more info and examples of binding directories, check out the Compute Canada page on using Apptainer and QIIME
+
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/Apptainer
  
 
https://docs.alliancecan.ca/wiki/QIIME
 
https://docs.alliancecan.ca/wiki/QIIME

Latest revision as of 12:50, 25 August 2023


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