Differences between revisions 1 and 2
Revision 1 as of 2021-06-02 15:52:09
Size: 365
Editor: davidsch
Comment:
Revision 2 as of 2021-06-02 16:05:40
Size: 1076
Editor: davidsch
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Singularity Builder VM is an easy-to-install virtual machine running a mininmal Debian Linux installation prepared with [[https://sylabs.io/singularity/|Sylabs Singularity]], allowing to build Singularity images as root user in a sandbox environment. The VM is preconfigured to exchange data between some host and guest file systems. Singularity Builder VM is an easy-to-install virtual machine running a mininmal Debian Linux installation prepared with [[https://sylabs.io/singularity/|Sylabs Singularity]], allowing to build Singularity images as root user in a sandbox environment. The Builder VM is preconfigured to exchange data between some host and guest file systems.

= Usage =

You can use any ISG.EE managed computer to perform the following steps:

 1. Open a Linux terminal
 1. Enter "sgbuilder". This will show you an overview/ help on how to install and start the Singularity Builder VM.
 1. Create a new VM copy of the Singularity Builder VM in any directory you like: {{{
sgbuilder install default /scratch/Your_Username/vm1
}}} Please note you should install your VM somewhere in /scratch and not in your user home directory for performance reasons.
 1. Once the VM has been installed, you can start it up as follows: {{{
sgbuilder start /scratch/Your_Username/vm1
}}}
 1. To shut down the VM in a clean manner, enter "shutdown now" at the shell.

Singularity Builder VM

Singularity Builder VM is an easy-to-install virtual machine running a mininmal Debian Linux installation prepared with Sylabs Singularity, allowing to build Singularity images as root user in a sandbox environment. The Builder VM is preconfigured to exchange data between some host and guest file systems.

Usage

You can use any ISG.EE managed computer to perform the following steps:

  1. Open a Linux terminal
  2. Enter "sgbuilder". This will show you an overview/ help on how to install and start the Singularity Builder VM.
  3. Create a new VM copy of the Singularity Builder VM in any directory you like:

    sgbuilder install default /scratch/Your_Username/vm1
    Please note you should install your VM somewhere in /scratch and not in your user home directory for performance reasons.
  4. Once the VM has been installed, you can start it up as follows:

    sgbuilder start /scratch/Your_Username/vm1
  5. To shut down the VM in a clean manner, enter "shutdown now" at the shell.

Services/SingularityBuilder (last edited 2023-10-16 11:31:14 by alders)