docker scout cache prune

Remove temporary or cached data

Usage

docker scout cache prune

Description

Docker Scout stores temporary files to generate SBOMs of images and cache those SBOMs to not generate or fetch them again.

The docker scout cache prune command will remove all the temporary files used while generating the SBOMs.

By default the cached SBOMs will not be deleted are they can be used by the different docker scout commands. But the --sboms flag can be used to delete them.

Options

OptionShortDefaultDescription
--force-fDo not prompt for confirmation
--sbomsPrune cached SBOMs

Examples

Delete temporary data

$ docker scout cache prune
? Are you sure to delete all temporary data? Yes
    ✓ temporary data deleted

Delete temporary and cache data

$ docker scout cache prune --sboms
? Are you sure to delete all temporary data and all cached SBOMs? Yes
    ✓ temporary data deleted
    ✓ cached SBOMs deleted

Early Access

Docker Scout secures the complete software supply chain by providing image analysis, real-time vulnerability identification, contextual remediation recommendations, and more. Now available in early access.

Learn more on the Docker Scout product pageopen_in_new.