Skip to content

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

Merged
Kathryn Baldauf (katiewasnothere) merged 1 commit into
microsoft:mainfrom
katiewasnothere:kabaldau/cleanup_shared_scratch_root_dir
Jan 17, 2023
Merged

Add logic to cleanup the oci bundle root dir on container delete#1597
Kathryn Baldauf (katiewasnothere) merged 1 commit into
microsoft:mainfrom
katiewasnothere:kabaldau/cleanup_shared_scratch_root_dir

Conversation

@katiewasnothere

Copy link
Copy Markdown

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 kabaldau@microsoft.com

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
@katiewasnothere
Kathryn Baldauf (katiewasnothere)force-pushed the kabaldau/cleanup_shared_scratch_root_dir branch from 59e6f21 to b74c09eCompareDecember 5, 2022 21:03
@katiewasnothere
Kathryn Baldauf (katiewasnothere) merged commit d6dd825 into microsoft:mainJan 17, 2023
@katiewasnothere
Kathryn Baldauf (katiewasnothere) deleted the kabaldau/cleanup_shared_scratch_root_dir branch January 17, 2023 19:39
Prince Pereira (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 freeto 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

@katiewasnothere@anmaxvl@helsaawy