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         --name or --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 --all' as root, or with
24       'sudo'.
25
26
27

OPTIONS

29       -n, --dry-run[=false]
30           operate in dry run mode and do not actually clean the cache
31
32
33       -f, --force[=false]
34           suppress any prompts and clean the cache
35
36
37       -h, --help[=false]
38           help for clean
39
40
41       -N, --name=[]
42           specify a container cache to clean (will clear all cache with the
43       same name)
44
45
46       -T, --type=[all]
47           a list of cache types to clean (possible values: library, oci,
48       shub, blob, net, oras, all)
49
50
51

EXAMPLE

53                All group commands have their own help output:
54
55                $ singularity help cache clean --name cache_name.sif
56                $ singularity help cache clean --type=library,oci
57                $ singularity cache clean --help
58
59
60
61

SEE ALSO

63       singularity-cache(1)
64
65
66

HISTORY

68       21-Oct-2019 Auto generated by spf13/cobra
69
70
71
72Auto generated by spf13/cobra      Oct 2019                     singularity(1)
Impressum