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/06/16 14:12]
root
using_singularity [2022/01/26 10:28] (current)
root
Line 13: Line 13:
 For example, I installed VirtualBox on my Windows 10 laptop, then created a virtual machine running Centos 7. (If VirtualBox is only giving you the choice of 32-bit virtual machines, you need to turn on virtualization support and VTd support in the BIOS of your machine.) For example, I installed VirtualBox on my Windows 10 laptop, then created a virtual machine running Centos 7. (If VirtualBox is only giving you the choice of 32-bit virtual machines, you need to turn on virtualization support and VTd support in the BIOS of your machine.)
  
-We can also provide access to a Linux virtual machine with root permissions if you need it. Please contact the system administrators.+We can also provide access to a Linux virtual machine with root permissions if you need it. Please contact the system administrators to get access to this VM.
  
 ==== 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.1623867137.txt.gz ยท Last modified: 2021/06/16 14:12 by root