Skip to content
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

[Docker Desktop] Add settings for Docker Scout cache management #578

Open
mmarinchenko opened this issue Oct 22, 2023 · 2 comments
Open
Assignees
Labels
community_new New idea raised by a community contributor

Comments

@mmarinchenko
Copy link

Tell us about your request

Potentially useful settings:

  • The path to the Docker Scout cache (one may want to use a relatively small partition on a high-speed SSD or RAM disk for performance reasons)
  • Maximum cache size to limit disk usage

Which service(s) is this request for?

Docker Desktop, Docker Scout.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

Docker Scout saves image archives in the %TEMP%\docker-scout directory (on Windows) and never deletes them. This can quickly lead to 100+ GB of wasted disk space during active development. We need a way to manage this behavior.

Are you currently working around the issue?

Additional context

docker/for-win#244 (comment)

@jonnyrobots
Copy link

The docker scout command-line tool (included with Docker Desktop) provides clean up commands. Read more about the docker scout cache df and docker scout cache prune commands in our reference documentation here.

@mmarinchenko
Copy link
Author

The OS shell also provides cleanup commands. But the docker scout command-line tool does not rely on this fact. I.e., it does not force the user to go and clean up after himself manually by running OS commands.

DD should provide the same level of responsibility. If it runs something under the hood that leads to pollution of the user's file system, it should provide the ability to manage this behavior at the same level of user interaction (i.e., the UI). Be it docker scout or anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_new New idea raised by a community contributor
Projects
None yet
Development

No branches or pull requests

2 participants