From 17c81af4b738a45b4d13cd607da9a51b986edae7 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Mon, 5 Jan 2026 13:30:40 +0200 Subject: [PATCH 1/2] apptainer-inspect: add page Signed-off-by: Emmanuel Ferdman --- pages/linux/apptainer-inspect.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/apptainer-inspect.md diff --git a/pages/linux/apptainer-inspect.md b/pages/linux/apptainer-inspect.md new file mode 100644 index 00000000000000..6b4cc2a04f754e --- /dev/null +++ b/pages/linux/apptainer-inspect.md @@ -0,0 +1,32 @@ +# apptainer inspect + +> Display metadata of Apptainer container images. +> More information: . + +- Show the labels of an image (default): + +`apptainer inspect {{path/to/image.sif}}` + +- Show the definition file used to build the image: + +`apptainer inspect {{[-d|--deffile]}} {{path/to/image.sif}}` + +- Show the runscript for the image: + +`apptainer inspect {{[-r|--runscript]}} {{path/to/image.sif}}` + +- Show the environment variables of the image: + +`apptainer inspect {{[-e|--environment]}} {{path/to/image.sif}}` + +- List all apps in the container: + +`apptainer inspect --list-apps {{path/to/image.sif}}` + +- Show all available data in JSON format: + +`apptainer inspect {{[-a|--all]}} {{path/to/image.sif}}` + +- Display help: + +`apptainer inspect {{[-h|--help]}}` From 2165f4a1ea6d045630a63abadef963abbcc05135 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Tue, 6 Jan 2026 10:19:51 +0200 Subject: [PATCH 2/2] apptainer-inspect: add page Signed-off-by: Emmanuel Ferdman --- pages/linux/apptainer-inspect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/apptainer-inspect.md b/pages/linux/apptainer-inspect.md index 6b4cc2a04f754e..b627630338bb01 100644 --- a/pages/linux/apptainer-inspect.md +++ b/pages/linux/apptainer-inspect.md @@ -25,7 +25,7 @@ - Show all available data in JSON format: -`apptainer inspect {{[-a|--all]}} {{path/to/image.sif}}` +`apptainer inspect --all {{path/to/image.sif}}` - Display help: