You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 2015: [Singularity](https://en.wikipedia.org/wiki/Singularity_(software)) and ([since 2021](https://apptainer.org/news/community-announcement-20211130/)) [Apptainer](https://apptainer.org)
69
69
70
70
::: aside
71
-
There are many [OS-level virtualization](https://en.wikipedia.org/wiki/OS-level_virtualization) systems. LXC, Docker, and Singularity are by far the most important ones.
71
+
There are many [OS-level virtualization](https://en.wikipedia.org/wiki/OS-level_virtualization) systems. LXC, and especially *Docker*, and *Apptainer/Singularity* are by far the most important ones.
72
72
:::
73
73
74
74
## Properties of containerized processes {.smaller}
@@ -83,8 +83,8 @@ There are many [OS-level virtualization](https://en.wikipedia.org/wiki/OS-level_
- Part of the Docker installation (uses WSL on Windows; LinuxKit / Hypervisor Framework on macOS)
87
-
-Unsupported by Singularity
86
+
- Part of the Docker installation (uses [WSL/WSL2](https://learn.microsoft.com/en-us/windows/wsl/about) on Windows; LinuxKit / Hypervisor Framework on macOS)
87
+
-Apptainer can [use WSL/WSL2 on Windows](https://apptainer.org/docs/admin/main/installation.html#windows), with access to GPUs; [on macOS](https://apptainer.org/docs/admin/main/installation.html#mac), requires [Lima](https://lima-vm.io) as VM host (no GPU)
88
88
89
89
::: aside
90
90
Figure modified from [Gianluca Quercini, Cloud computing -- Docker Primer](https://gquercini.github.io/courses/cloud-computing/references/docker-primer/)
- Gitlab container registry (gitlab-registry.oit.duke.edu for Duke OIT's Gitlab installation)
164
165
165
-
## (Note) Container images are layered
166
-
167
-
* Container file system is a [union mount](https://en.wikipedia.org/wiki/Union_mount)
168
-
-[OverlayFS](https://en.wikipedia.org/wiki/OverlayFS) supported by Linux kernel since 2014
169
-
- Allows layering image content
170
-
- Each command in the definition creates a layer
171
-
- Layers are cached for image builds and pulls
172
-
*[Best practices for container definition](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) include controlling layer cache invalidation
0 commit comments