apptainer sign
linux
Add digital signatures to a SIF container image. See also: `apptainer-verify`.
More info →Options (4)
-k, --keyidxbooleanSign a container image using a specific PGP key index
Example:
apptainer sign {{[-k|--keyidx]}} {{key_index}} {{path/to/image.sif}}-g, --group-idbooleanSign a specific object group within the image
Example:
apptainer sign {{[-g|--group-id]}} {{group_id}} {{path/to/image.sif}}-i, --sif-idbooleanSign a specific object by ID within the image
Example:
apptainer sign {{[-i|--sif-id]}} {{object_id}} {{path/to/image.sif}}-h, --helpbooleanDisplay help
Example:
apptainer sign {{[-h|--help]}}Examples (6)
Sign a container image using the default PGP key
apptainer sign path/to/image.sifSign a container image using a specific private key file
apptainer sign --key path/to/private.pem path/to/image.sifSign a container image using a specific PGP key index
apptainer sign [-k|--keyidx] key_index path/to/image.sifSign a specific object group within the image
apptainer sign [-g|--group-id] group_id path/to/image.sifSign a specific object by ID within the image
apptainer sign [-i|--sif-id] object_id path/to/image.sifDisplay help
apptainer sign [-h|--help]made by @shridhargupta | data from tldr-pages