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

docs: add faq tips for buildkit cache folder clean-ups #3741

Conversation

miurahr
Copy link
Contributor

@miurahr miurahr commented Dec 8, 2024

Help users to find a nerdctl command when they find a dangling cache in buildkit cache folder, as a SEO.

There is some difficulty for users to find a correct command line to prune dangling buildkit cache with web search.
This added a tip of a cache folder path that help users to find the command.

@fahedouch
Copy link
Member

fahedouch commented Dec 8, 2024

Thanks @miurahr but imo it is more relevant to add this to faq

@fahedouch fahedouch added this to the v2.0.2 milestone Dec 8, 2024
@miurahr
Copy link
Contributor Author

miurahr commented Dec 9, 2024

Thanks @miurahr but imo it is more relevant to add this to faq

Adjust for the suggestion. Thanks.

@miurahr miurahr force-pushed the topic/miurahr/docs/nerdctl-builder-prune-target-folder branch from bce4fd9 to 6041249 Compare December 9, 2024 04:32
@miurahr

This comment was marked as outdated.

@miurahr miurahr changed the title docs: add tips for buildkit cache folder docs: add faq tips for buildkit cache folder clean-ups Dec 9, 2024
@miurahr miurahr force-pushed the topic/miurahr/docs/nerdctl-builder-prune-target-folder branch 3 times, most recently from 51894df to 1c1a734 Compare December 9, 2024 06:00
docs/faq.md Outdated Show resolved Hide resolved

You can clear the cache objects by running the following command:
```
nerdctl builder prune
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity; why is nerdctl system prune --all? not enough

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is significant effective without --all. It is not clear what --all includes.

@AkihiroSuda
Copy link
Member

Please squash the commits

@AkihiroSuda AkihiroSuda modified the milestones: v2.0.2, v2.0.3 Dec 10, 2024
Help users to find a nerdctl command when they find a dangling cache in
buildkit cache folder, as a SEO.

Signed-off-by: Hiroshi Miura <[email protected]>
@miurahr miurahr force-pushed the topic/miurahr/docs/nerdctl-builder-prune-target-folder branch from 84e1296 to 1185e8e Compare December 11, 2024 15:02
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit 444c172 into containerd:main Dec 11, 2024
6 checks passed
@AkihiroSuda AkihiroSuda added the documentation Improvements or additions to documentation label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants