community man page

apptainer-cache

GNU

Manage the local Apptainer cache.

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-cache
same page, in your terminal

Examples

List all cached container images GNU

apptainer cache list

List cached container images with detailed information GNU

apptainer cache list [-v|--verbose]

List only a specific cache type GNU

apptainer cache list [-T|--type] library|oci|shub|blob|...

Clean the entire cache GNU

apptainer cache clean

Clean only a specific cache type GNU

apptainer cache clean [-T|--type] library|oci|shub|blob|...

Clean cache entries older than a specific number of days GNU

apptainer cache clean [-D|--days] days

Preview what would be cleaned without removing anything GNU

apptainer cache clean [-n|--dry-run]

Force clean without confirmation GNU

apptainer cache clean [-f|--force]