start:software:containers:singularity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start:software:containers:singularity [2021/02/16 12:50]
meesters [Interactive usage]
start:software:containers:singularity [2021/09/14 15:27] (current)
jrutte02 [Converting Docker Images to Singularity Images]
Line 17: Line 17:
   * A simple, effective security model. You are the same user inside a container as outside, and cannot gain additional privilege on the host system by default. Where other container solutions allow the escalation of privileges onto the host system, this is prevented by Singularity.     * A simple, effective security model. You are the same user inside a container as outside, and cannot gain additional privilege on the host system by default. Where other container solutions allow the escalation of privileges onto the host system, this is prevented by Singularity.  
  
-===== Using Singularity on Mogon =====+===== Using Singularity on MOGON =====
  
 We provide Singularity as an [[start:working_on_mogon:workflow_organization:setting_up_environment_modules|environment module]]: We provide Singularity as an [[start:working_on_mogon:workflow_organization:setting_up_environment_modules|environment module]]:
Line 45: Line 45:
  
 Other use cases are described in the official documentation [[https://sylabs.io/guides/3.7/user-guide/introduction.html#use-cases|here]]. Other use cases are described in the official documentation [[https://sylabs.io/guides/3.7/user-guide/introduction.html#use-cases|here]].
-===== Are there any plans to provide Docker as well? =====+===== Converting Docker Images to Singularity Images =====
  
-NO, but you can convert your Docker image into a Singularity image and launch it on MOGON 2. +<callout type="info" title="Are there any plans to provide Docker support on MOGON?" icon="true"> 
 +NO, but you can convert your Docker image into a Singularity image and launch it on MOGON 2. 
 +</callout>
  
-  There is a way to directly download a Docker image from the docker hub and convert it into Singularity image: <code bash>$ singularity build my-fluffy-cow.sif docker://namespace/my-fluffy-cow</code> More details can be found on official Singularity website [[https://singularity.lbl.gov/docs-build-container|here]].+ 
 +  It is possible to directly download a Docker image from the docker hub and convert it into Singularity image: <code bash>$ singularity build my-fluffy-cow.sif docker://namespace/my-fluffy-cow</code> More details can be found on official Singularity website [[https://singularity.lbl.gov/docs-build-container|here]].
  
   * If you have already your own image, which is not on the docker hub, you still can convert it. Here are the steps you have to do **on your local machine**, where you have a Docker image called ''my-fluffy-cow'':   * If you have already your own image, which is not on the docker hub, you still can convert it. Here are the steps you have to do **on your local machine**, where you have a Docker image called ''my-fluffy-cow'':
  • start/software/containers/singularity.1613476204.txt.gz
  • Last modified: 2021/02/16 12:50
  • by meesters