Merge pull request #19079 from dvdksn/scout-jenkins-note-cacheperms

scout: add note about cache permissions
This commit is contained in:
David Karlsson 2024-01-11 11:22:58 +01:00 committed by GitHub
commit 6ecb63850a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -40,3 +40,10 @@ pipeline {
This installs Docker Scout, logs into Docker Hub, and then runs Docker Scout to
generate a CVE report for an image and tag. It only shows critical or
high-severity vulnerabilities.
> **Note**
>
> If you're seeing a `permission denied` error related to the image cache, try
> setting the [`DOCKER_SCOUT_CACHE_DIR`](../../env-vars.md) environment
> variable to a writable directory. Or alternatively, disable local caching
> entirely with `DOCKER_SCOUT_NO_CACHE=true`.