mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
apptainer*: remove redundant mnemonics and add short/long options (#20704)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user