Welcome to the Singularity Tutorial#
In recent years, container runtimes have become an indispensable tool in large computing environments and high performance computing (HPC) labs.
The SingularityCE community designed SingularityCE containers specifically for HPC applications. Unlike other popular options, Singularity containers work seamlessly with existing HPC tools, including batch schedulers, job managers, and message passing interface (MPI) capabilities.
This tutorial:
Introduces SingularityCE and its key features and tools
Explains how to install and run SingularityCE containers
Provides guidance for using key features and tools
Tutorial examples and code excerpts are written for compatibility with version 3.11 of SingularityCE or SingularityPRO.
If you wish to improve the contents of this course, feel free to share your feedback to support@sylabs.io
For your convenience, this course is also available in PDF format.
Table of Contents#
- 📄 Introduction to SingularityCE
- 📄 Getting Started
- 📄 Running containers
- 📄 Building images
- 📓 Lab 1: Convert docker images to SIF
- 📓 Lab 2.1: Running Containers
- 📓 Lab 2.2: Running Containers as Instances
- 📄 The Singularity Workflow
- 📓 Lab 3: Multi-Stage Build
- 📄 Building without root access
- 📓 Lab 4: Using Singularity Container Services
- 📄 Signing and verifying images
- 📓 Lab 5: Signing containers with PGP
- 📓 Lab 6: Signing with x509 Key Materials
- 📄 Inspecting SIF Files
- 📓 Lab 7: SIF file & Host Filesystem
- 📓 Lab 8: Putting it all together
- 📄 OCI-Mode and Interoperability