1apptainer(1) apptainer(1)
2
3
4
6 apptainer-cache-clean - Clean your local Apptainer cache
7
8
9
11 apptainer cache clean [clean options...]
12
13
14
16 This will clean your local cache (stored at $HOME/.apptainer/cache if
17 APPTAINER_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 Apptainer
21 as root, cache will be stored in '/root/.apptainer/.cache', to clean
22 that
23 cache, you will need to run 'cache clean' as root, or with 'sudo'.
24
25
26
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
48 All group commands have their own help output:
49
50 $ apptainer help cache clean --days 30
51 $ apptainer help cache clean --type=library,oci
52 $ apptainer cache clean --help
53
54
55
56
58 apptainer-cache(1)
59
60
61
63 22-Nov-2023 Auto generated by spf13/cobra
64
65
66
67Auto generated by spf13/cobra Nov 2023 apptainer(1)