apptainer-overlay: add page (#20706)

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman
2026-01-13 11:42:53 +07:00
committed by GitHub
parent 8043afb134
commit 268fb8828d
+28
View File
@@ -0,0 +1,28 @@
# apptainer overlay
> Manage EXT3 writable overlay images for Apptainer containers.
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_overlay.html>.
- Add a writable overlay to an existing SIF image:
`apptainer overlay create {{[-s|--size]}} {{size}} {{path/to/image.sif}}`
- Create a standalone EXT3 writable overlay image:
`apptainer overlay create {{[-s|--size]}} {{size}} {{path/to/overlay.img}}`
- Create a sparse overlay image:
`apptainer overlay create {{[-s|--size]}} {{size}} {{[-S|--sparse]}} {{path/to/overlay.img}}`
- Create an overlay for use with fakeroot:
`apptainer overlay create {{[-f|--fakeroot]}} {{[-s|--size]}} {{size}} {{path/to/overlay.img}}`
- Create an overlay with a specific directory in the layout:
`apptainer overlay create --create-dir {{path/to/directory}} {{path/to/overlay.img}}`
- Display help:
`apptainer overlay {{[-h|--help]}}`