docker / scout-action

Docker Scout GitHub Action
https://docker.com/products/docker-scout
Other
91 stars 29 forks source link

How to clear the cache from docker scout quickview #13

Closed HuapingLiu closed 1 year ago

HuapingLiu commented 1 year ago

I have a big image, after running docker scout quickview, there is no space for my C disk. how to clear the cache from command docker scout quickview? Thanks.

eunomie commented 1 year ago

Hi,

There are two types of cache:

The first is deleted after the image has been indexed. But if you experienced a failure during the index, it might still be there. This cache is a docker-scout directory inside the temporary directory of the system. This temporary directory is defined as following on Windows:

On Windows, it uses GetTempPath, returning the first non-empty value from %TMP%, %TEMP%, %USERPROFILE%, or the Windows directory

The second directory, where all the SBOMs are cached, is %USERPROFILE%/.docker/scout/sbom

Hope this helps.

HuapingLiu commented 1 year ago

Thanks a lot for the info. My issue was resolved.