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

Add logic to cleanup the oci bundle root dir on container delete #1597

Conversation

katiewasnothere
Copy link
Contributor

This PR fixes a shared scratch scenario where the scratch directory is cleaned up on container delete, but since the container's root directory is in a different location, the root directory is never cleaned up. Be sure to clean up both the scratch and root directories regardless of whether shared scratch is set.

Signed-off-by: Kathryn Baldauf [email protected]

@katiewasnothere katiewasnothere requested a review from a team as a code owner December 5, 2022 20:58
@katiewasnothere katiewasnothere force-pushed the kabaldau/cleanup_shared_scratch_root_dir branch from 59e6f21 to b74c09e Compare December 5, 2022 21:03
@katiewasnothere katiewasnothere merged commit d6dd825 into microsoft:main Jan 17, 2023
@katiewasnothere katiewasnothere deleted the kabaldau/cleanup_shared_scratch_root_dir branch January 17, 2023 19:39
princepereira pushed a commit to princepereira/hcsshim that referenced this pull request Aug 29, 2024
…up_shared_scratch_root_dir

Add logic to cleanup the oci bundle root dir on container delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants