Contrib structure
Compare changes
Files
7- Martin Schroschk authored
# Conflicts: # doc.zih.tu-dresden.de/wordlist.aspell
@@ -2,94 +2,112 @@
@@ -2,94 +2,112 @@
users to gain root permissions in an isolated environment. There are two main options on how to work
1. [Manual method]**todo link**. It required more operations but gives you more flexibility and reliability.
Taurus. As opposed to Docker, this solution is much more suited to being used in an HPC environment.
1. Follow the instructions to [install Singularity](https://github.com/sylabs/singularity/blob/master/INSTALL.md#clone-the-repo)
mkdir -p ${GOPATH}/src/github.com/sylabs && cd ${GOPATH}/src/github.com/sylabs && git clone <https://github.com/sylabs/singularity.git> && cd
Checkout the version you want (see the [Github releases page](https://github.com/sylabs/singularity/releases)
Since creating a new container requires access to system-level tools and thus root privileges, it is
@@ -99,20 +117,26 @@ where you install your software.
@@ -99,20 +117,26 @@ where you install your software.
Bootstrap: docker<br />From: ubuntu:trusty<br /><br />%runscript<br /> echo "This is what happens when you run the container..."<br /><br />%post<br /> apt-get install g++
More bootstrap options are available. The following example, for instance, bootstraps a basic CentOS
@@ -131,23 +155,25 @@ Include: yum
@@ -131,23 +155,25 @@ Include: yum
Creating a singularity container directly from a local docker image is possible but not recommended.
@@ -165,109 +191,122 @@ From: alpine
@@ -165,109 +191,122 @@ From: alpine
As singularity definition files and Dockerfiles are very similar you can start creating a definition
The better approach for that however is to use `singularity run` for that, which executes whatever was set in the _%runscript_ section of the definition file with the arguments you pass to it.
@@ -285,33 +324,32 @@ singularity build my-container.sif example.def
@@ -285,33 +324,32 @@ singularity build my-container.sif example.def
With this you can even masquerade an application with a singularity container as if it was an actual
than what is available on Taurus. E.g., the bullx Linux on Taurus used to be based on RHEL6 having a