-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
temporary file/cache location configurability #75
Comments
You can try setting Let me know if that works. |
Tried both:
The error I get is (the same whether I provide these env vars or not):
|
Thanks for reporting back. Let me take a look at this more. |
Opps, I see what's wrong here. Let me push a fix. |
Thank you so much! |
How could I test the fix? |
Fix pushed. Waiting for release now. |
Version 1.2.1 is now released. |
After upgrading to 1.2.1 it works with:
It doesn't work though with:
Could these env vars be added to documentation? I see it mentioned in the |
@gergelyfabian I've added docs about the available env vars to https://github.com/docker/scout-cli/blob/main/README.md#environment-variables. This will also be added to the official docs at docs.docker.com soon.
Yes, saw that too and already pushed a fix. Previously this env var was only not reading from the cache but we were still attempting to write. This will be fixed in the next version. |
Thank you for all the fixes! |
I'm trying to use
docker scout
from a Bazel test target, that gives restricted access to a user's home directory.Thus,
docker scout
fails with a similar error:Is there a way to reconfigure
docker scout
to write temporary files or cached files into a different location?If this is not currently supported, could you provide some link to source code where this could be added (maybe I could contribute it).
The text was updated successfully, but these errors were encountered: