Introduction to Containers on Terra

Overview

Instructor: Richard Lawrence

Time: Friday, April 30, 1:30PM-4:00PM

Location: Zoom session only

Prerequisites: Basic LINUX/UNIX skills, familiarity with SLURM. Recommended: HPRC account, basic Python skills.

Containers are a method of bundling a software environment for portability. HPRC supports containerization through the availability of the Singularity container runtime engine. This course provides an overview of container features for the purpose of helping the user determine whether containers are a useful tool for their workflow. This course covers Singularity syntax, the use of container repositories, practices for working with container images, and some example use cases for containers in the HPC setting. Exercises will be performed through the command line, but other workflows such as batch and GUI will be showcased.

Course Materials

Presentation slides

The presentation slides are available as downloadable PDF files.

  • Introduction to Containers on Terra Basic (Spring 2021): PDF
  • Introduction to Containers on Terra Advanced (Spring 2021): PDF

Agenda

  • Overview of Containers
  • Singularity on HPRC
  • Getting a Container Image
  • Container Usage Basics
  • More Container Examples
  • Build your own Containers