apptainer registry
linux
Manage authentication to OCI/Docker registries. See also: `apptainer pull`, `apptainer push`.
More info →Options (2)
-u, --usernamebooleanLog in to a registry with a username (password will be prompted)
Example:
apptainer registry login {{[-u|--username]}} {{username}} docker://{{registry}}-p, --passwordbooleanLog in with username and password
Example:
apptainer registry login {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}} docker://{{registry}}Examples (8)
List all configured registry credentials
apptainer registry listLog in to a registry with a username (password will be prompted)
apptainer registry login [-u|--username] username docker://registryLog in to a custom OCI registry
apptainer registry login [-u|--username] username oras://registryLog in with username and password
apptainer registry login [-u|--username] username [-p|--password] password docker://registryLog in with a password from `stdin`
echo "password" | apptainer registry login [-u|--username] username --password-stdin docker://registryLog in using a custom authentication file
apptainer registry login --authfile path/to/auth.json [-u|--username] username docker://registryLog out from a registry
apptainer registry logout docker://registryLog out using a custom authentication file
apptainer registry logout --authfile path/to/auth.json docker://registrymade by @shridhargupta | data from tldr-pages