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 run cache clean as root, or with sudo β€” 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 by spf13/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