community man page

apptainer-registry

GNU

Manage authentication to OCI/Docker registries. See also: `apptainer pull`, `apptainer push`.

8 examples·source: tldr · CC-BY·status: verified
Reading is open to everyone. Suggesting a flag, fixing an example or adding a recipe is opening to verified-email accounts soon — every change is moderated before it goes live.
curl https://curlhub.sh/man/apptainer-registry
same page, in your terminal

Examples

List all configured registry credentials GNU

apptainer registry list

Log in to a registry with a username (password will be prompted) GNU

apptainer registry login [-u|--username] username docker://registry

Log in to a custom OCI registry GNU

apptainer registry login [-u|--username] username oras://registry

Log in with username and password GNU

apptainer registry login [-u|--username] username [-p|--password] password docker://registry

Log in with a password from `stdin` GNU

echo "password" | apptainer registry login [-u|--username] username --password-stdin docker://registry

Log in using a custom authentication file GNU

apptainer registry login --authfile path/to/auth.json [-u|--username] username docker://registry

Log out from a registry GNU

apptainer registry logout docker://registry

Log out using a custom authentication file GNU

apptainer registry logout --authfile path/to/auth.json docker://registry