commands.sh

apptainer verify

linux

Verify digital signatures of SIF container images. See also: `apptainer-sign`.

More info →

Options (5)

-a, --allboolean

Verify all objects in the image

Example: apptainer verify {{[-a|--all]}} {{path/to/image.sif}}
-g, --group-idboolean

Verify a specific object group within the image

Example: apptainer verify {{[-g|--group-id]}} {{group_id}} {{path/to/image.sif}}
-i, --sif-idboolean

Verify a specific object by ID within the image

Example: apptainer verify {{[-i|--sif-id]}} {{object_id}} {{path/to/image.sif}}
-j, --jsonboolean

Output verification results in JSON format

Example: apptainer verify {{[-j|--json]}} {{path/to/image.sif}}
-h, --helpboolean

Display help

Example: apptainer verify {{[-h|--help]}}

Examples (8)

Verify a container image using the default PGP keyring

apptainer verify path/to/image.sif

Verify a container image using a specific public key file

apptainer verify --key path/to/public.pem path/to/image.sif

Verify a container image using a certificate file

apptainer verify --certificate path/to/certificate.pem path/to/image.sif

Verify all objects in the image

apptainer verify [-a|--all] path/to/image.sif

Verify a specific object group within the image

apptainer verify [-g|--group-id] group_id path/to/image.sif

Verify a specific object by ID within the image

apptainer verify [-i|--sif-id] object_id path/to/image.sif

Output verification results in JSON format

apptainer verify [-j|--json] path/to/image.sif

Display help

apptainer verify [-h|--help]
made by @shridhargupta | data from tldr-pages