gc(1) General Commands Manual gc(1)

gc - Garbage collect old builds

gc [-t|--timeout] [-f|--force] [-w|--workspace] [-h|--help]

Garbage collection for Ayllu builds. This routine should be periodically run to cleanup artifacts left around by ayllu-build. Typically this can be automated through a cron-like system such as systemd timers.

Each time ayllu-build is invoked artifacts will accumulate in your cache directory under the builds/cache directory. These directories contain OCI configuration files, build outputs, and other runtime files.

This will also check for any orphan processes which typically shouldn't exist but occasionally may occur. See crun(1), runc(1) or youki(1) for more details.

Number of milliseconds to wait before sending SIGKILL
Force the clean-up of all containers regardless of their status
Delete the runtime directory of the container (DESTRUCTIVE)
Print help (see a summary with '-h')
gc