Singularity¶
Singularity is an open source container platform designed to be simple, fast, and secure. It allows unprivileged users to run untrusted containers in a trusted way. It has been designed with reproducability and HPC workloads in mind.
It is available as an installed package on CREATE.
Take note
Singularity is only accessible from the compute nodes, to use Singularity and avoid the memory limitations of the login nodes, please request an interactive session.
1 2 |
|
Usage¶
You can also download containers using singularity pull
command from
the Singularity Container Library
1 |
|
or from the Docker Hub
1 |
|
Alternatively you can build your own containers. Please see the Singularity documentation for more information.
Warning
Using third party containers is a great way to get started, but you need to make sure that the container is behaving as expected before using it in your work.
Running containers¶
Containers can be used like any other application via an interactive shell or a batch job. You can either run the container
1 |
|
execute a command
1 |
|
or start a shell
1 2 |
|