apptainer*: remove redundant mnemonics and add short/long options (#20704)

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman
2026-01-12 18:26:04 +02:00
committed by GitHub
parent 9ade688459
commit dfe00aac5c
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
`apptainer build {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}`
- Build a writable [s]andbox directory instead of an image file:
- Build a writable sandbox directory instead of an image file:
`apptainer build {{[-s|--sandbox]}} {{path/to/directory}} docker://{{image}}:{{tag}}`
@@ -23,11 +23,11 @@
`apptainer build --disable-cache {{path/to/image.sif}} docker://{{image}}:{{tag}}`
- [F]orce overwrite an existing image file:
- Force overwrite an existing image file:
`apptainer build {{[-F|--force]}} {{path/to/image.sif}} {{path/to/definition.def}}`
- Build using [f]akeroot for unprivileged builds:
- Build using fakeroot for unprivileged builds:
`apptainer build {{[-f|--fakeroot]}} {{path/to/image.sif}} {{path/to/definition.def}}`
+2 -2
View File
@@ -9,9 +9,9 @@
- Delete an image for a specific architecture:
`apptainer delete --arch {{amd64|arm64|ppc64le}} library://{{user/collection/container}}:{{tag}}`
`apptainer delete {{[-A|--arch]}} {{amd64|arm64|ppc64le}} library://{{user/collection/container}}:{{tag}}`
- [F]orce delete an image without confirmation:
- Force delete an image without confirmation:
`apptainer delete {{[-F|--force]}} library://{{user/collection/container}}:{{tag}}`
+1 -1
View File
@@ -20,7 +20,7 @@
`apptainer pull --arch {{amd64|arm64|ppc64le}} {{path/to/image.sif}} library://{{image}}:{{tag}}`
- [F]orce overwrite an existing image file:
- Force overwrite an existing image file:
`apptainer pull {{[-F|--force]}} {{path/to/image.sif}} docker://{{image}}:{{tag}}`
+2 -2
View File
@@ -12,11 +12,11 @@
`apptainer push {{path/to/image.sif}} oras://{{registry/namespace/image}}:{{tag}}`
- Push an [U]nsigned container (skip signature verification):
- Push an unsigned container (skip signature verification):
`apptainer push {{[-U|--allow-unsigned]}} {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}`
- Push a container with a [D]escription (library only):
- Push a container with a description (library only):
`apptainer push {{[-D|--description]}} "{{description}}" {{path/to/image.sif}} library://{{user/collection/container}}:{{tag}}`