logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

singularity-cache-clean - Clean your local Singularity cache

Description

       This will clean your local cache (stored at $HOME/.singularity/cache if
         SINGULARITY_CACHEDIR is not set). By default the entire cache is cleaned, use
         --days and --type flags to override this behavior. Note: if you use Singularity
         as root, cache will be stored in '/root/.singularity/.cache', to clean that
         cache, you will need to run 'cache clean' as root, or with 'sudo'.

Example

         All group commands have their own help output:

         $ singularity help cache clean --days 30
         $ singularity help cache clean --type=library,oci
         $ singularity cache clean --help

History

       27-Feb-2025 Auto generated by spf13/cobra

Auto generated by spf13/cobra                       Feb 2025                                      singularity(1)

Name

       singularity-cache-clean - Clean your local Singularity cache

Options

-D, --days=0      remove all cache entries older than specified number of days

       -n, --dry-run[=false]      operate in dry run mode and do not actually clean the cache

       -f, --force[=false]      suppress any prompts and clean the cache

       -h, --help[=false]      help for clean

       -T,  --type=[all]       a  list  of  cache types to clean, possible entries: all, library, oci-tmp, shub,
       oras, net, oci-sif, blob

See Also

singularity-cache(1)

Synopsis

singularitycacheclean[cleanoptions...]

See Also