-
Notifications
You must be signed in to change notification settings - Fork 950
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: should add snapshot gc label to config
For `containerd.io/gc.root` label means the content/snapshot cannot be removed during gc. If we use it for snapshot, the snapshot cannot be removed during removing image. By default, we should add `containerd.io/gc.ref.snapshot.{snapshot-name}` gc label to the image config so that gc can remove the snapshot if user tries to remove the image. close #2556 Signed-off-by: Wei Fu <fuweid89@gmail.com>
- Loading branch information
Showing
1 changed file
with
52 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters