GWDG Pilot Module Containers¶
Containers are used very heavily these days and provide a lot of capabilities. Their popularity is not just hype (though there is definitely some hype added on), they can be very useful though they are not the right tool for every job. Containers are used for many things such as
Having a consistent (and hopefully reproducible) environment for building, testing, running, etc. software
Some portability between machines by bringing most dependencies with you
Isolating software from the underlying system or other containers
Simplifying deployment in some cases
Building OS images for network booting
There are numerous container ecosystems that come and go, which use the same underlying mechanisms. If you understand the underlying mechanisms and how to implement them yourself, then learning new container ecosystems and tooling becomes easier meaning if one disappears a year or two later, you didn’t waste much time learning that specific one and can easily learn the next one. So, this module will focus on the fundamentals and the underlying mechanisms.
Prerequisites
Access to a working Linux system where you have root level access, whether a local install on your own machine or a VM
Basic understanding of the Linux command-line
Basic understanding of how to install packages on your Linux system
Basic understanding of Linux permission system (users, groups, file ownership, file permissions)
Basic understanding of POSIX shells (Bash, Zsh, etc.)
Preparations Before Lessons¶
You must complete these preparations before the lessons. Otherwise, you will be lost and unable to complete them and the instructor will have to leave you behind.
System Setup
Lessons¶
Container Intro And Low-Level Containers
Reference
Learning outcomes¶
This material is for understanding containers at a fundamental level rather than just learning one or two ecosystems. By the end of this module, learners should:
Know what a container, container image, and image are and their subtle differences
Be able to implement many of the basic features and underlying mechanisms of containers to run their own containers without a container ecosystem
Understand the basic features and underlying mechanisms of containers well enough to be able to teach themselves new container ecoystems and understand their documentation
Know when to use containers, and when not to (right tool for the right job)
See also¶
Credit
Author: Freja Nordsiek (Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen)
License: CC BY-SA 4.0 and MIT (also known as Expat)
Contributing and error reporting: Please send an email to hpc-support@gwdg.de
License
CC BY-SA for media and pedagogical material
Copyright © 2026, EVITA project, Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen,. This material is released by EVITA project, Freja Nordsiek under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).
Canonical URL: https://creativecommons.org/licenses/by-sa/4.0/
You are free to
Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms
Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.
MIT for source code and code snippets
MIT License
Copyright (c) 2026, EVITA project, Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen,
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.