Introduction to Containers on HPC


You’ll need a laptop with a web browser and a terminal. See also the Setup page.

You might want to brush up on the fundamentals of the Linux Shell for HPC.


This tutorial has been designed in a modular way. Episodes can be thought as categorised as follows:

Once you’ve gone through Episodes 1-7, there are almost no further dependencies. You can go on and pick whichever you are interested in, and you will be able to follow through.

Like this tutorial? Star it on Github (button on top right)!


00:00 1. Introduction to containers
00:10 2. Basics of Docker
00:35 3. Basics of Singularity
01:05 4. Build and share your own container image
01:25 5. Building images with Docker
01:45 6. Building images with Singularity
02:05 7. Best practices
02:30 8. Streamline the user experience: bash wrappers, modules and SHPC
03:00 9. MPI containers
03:25 10. Python containers
03:50 11. Other notable container tools
04:05 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.