apptainer(1)
NAME π
apptainer-cache-clean β clean your local Apptainer cache. okay bestie, yes, this is the apptainer(1) manual page for it, and itβs giving βfresh cache, fresh meβ energy β¨
SYNOPSIS β¨
apptainer cache clean [clean options...]
DESCRIPTION πΈ
This cleans your local cache, which lives at $HOME/.apptainer/cache if APPTAINER_CACHEDIR is not set. By default the entire cache is cleaned β yes, all of it, no crumbs left. Wanna override that behavior? Use the --days and --type flags, bestie π
Root alert π¨ if you use Apptainer as root, the cache is stored in/root/.apptainer/.cache. To clean that cache, you need to runcache cleanas root, or withsudoβ periodt.
OPTIONS π
-D,--days=0β remove all cache entries older than specified number of days. thatβs the whole gig π-n,--dry-run[=false]β operate in dry run mode and do not actually clean the cache. look but donβt touch vibes, fr fr β¨-f,--force[=false]β suppress any prompts and clean the cache. no questions, just cleaning π-h,--help[=false]β help for clean. yep, the little helper π«Ά-T,--type=[all]β a list of cache types to clean (possible values:library,oci,shub,blob,net,oras,all). pick your fighters π
EXAMPLE π
All group commands have their own help output β fr fr:
$ apptainer help cache clean --days 30
$ apptainer help cache clean --type=library,oci
$ apptainer cache clean --help
SEE ALSO π¦
apptainer-cache(1) β go read that one too, bestie.
HISTORY π
22-Oct-2026β Auto generated byspf13/cobra.
okay thatβs the page! π this is apptainer(1), Auto generated by spf13/cobra in Oct 2026. mwah, bye bestie ππ
π¦ where this page comes from
- epel 9: apptainer 1.5.5-1.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-LBNL AND ISC AND MIT AND MPL-2.0 AND Unlicense
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms