1singularity(1)                                                  singularity(1)
2
3
4

NAME

6       singularity-cache-clean - Clean your local Singularity cache
7
8
9

SYNOPSIS

11       singularity cache clean [clean options...]
12
13
14

DESCRIPTION

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

OPTIONS

28       -D, --days=0      remove all cache entries older than specified  number
29       of days
30
31
32       -n,  --dry-run[=false]      operate in dry run mode and do not actually
33       clean the cache
34
35
36       -f, --force[=false]      suppress any prompts and clean the cache
37
38
39       -h, --help[=false]      help for clean
40
41
42       -T, --type=[all]      a list of cache types to clean (possible  values:
43       library, oci, shub, blob, net, oras, all)
44
45
46

EXAMPLE

48                All group commands have their own help output:
49
50                $ singularity help cache clean --days 30
51                $ singularity help cache clean --type=library,oci
52                $ singularity cache clean --help
53
54
55
56

SEE ALSO

58       singularity-cache(1)
59
60
61

HISTORY

63       22-Jun-2022 Auto generated by spf13/cobra
64
65
66
67Auto generated by spf13/cobra      Jun 2022                     singularity(1)
Impressum