User Tools

Site Tools


using_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
using_singularity [2021/08/23 11:59]
root [Using Singularity]
using_singularity [2022/01/26 10:28] (current)
root
Line 17: Line 17:
 ==== Installing Singularity ==== ==== Installing Singularity ====
  
-For Singularity version 3 installation is a little involved because it requires the Go programming language. Probably best to follow the instructions here: https://sylabs.io/guides/3.5/admin-guide/installation.html# or here: https://sylabs.io/guides/3.5/user-guide/quick_start.html+For Singularity version 3installation is a little involved because it requires the Go programming language. Probably best to follow the instructions here: https://sylabs.io/guides/3.5/admin-guide/installation.html# or here: https://sylabs.io/guides/3.5/user-guide/quick_start.html
  
 ==== Creating a Container ==== ==== Creating a Container ====
Line 27: Line 27:
 </code> </code>
  
-Would build you a container with the latest version of Ubuntu (available in the library - 18.10 at the time of writing). Similarly, you could specify "centos" here (and get Centos 7.6). +Would build you a container with the latest version of Ubuntu (available in the library - 18.10 at the time of writing). Similarly, you could specify "centos" here (and get Centos 8.4). 
  
 But note that this gets you an **immutable** container: you cannot update it. To get a container that you can update you must create it using the "--sandbox" flag. This creates the container as a directory on your system rather than as a single file. There is also another technique you can use to (virtually) make changes to your container: an overlay. This is an overlay filesystem which you add on top of the container. The contents of that overlay get changed not the container itself. This technique is a little more complicated, but can be used to allow a non-root user to make changes (to the overlay). But note that this gets you an **immutable** container: you cannot update it. To get a container that you can update you must create it using the "--sandbox" flag. This creates the container as a directory on your system rather than as a single file. There is also another technique you can use to (virtually) make changes to your container: an overlay. This is an overlay filesystem which you add on top of the container. The contents of that overlay get changed not the container itself. This technique is a little more complicated, but can be used to allow a non-root user to make changes (to the overlay).
using_singularity.1629734387.txt.gz ยท Last modified: 2021/08/23 11:59 by root