Skip to content

Add prune command to remove layer references#4968

Merged
mxpv merged 1 commit intocontainerd:masterfrom
dmcgowan:add-prune-references
Jan 24, 2021
Merged

Add prune command to remove layer references#4968
mxpv merged 1 commit intocontainerd:masterfrom
dmcgowan:add-prune-references

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

This removes the layer reference labels on content and calls a synchronous garbage collection afterwards. This can be used to remove layer content from the content store without having an affect on any content which is being actively used or pulled. The pull leases will content to hold these actively used layers even while the prune is being called.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jan 23, 2021

Build succeeded.

Copy link
Copy Markdown
Contributor

@Zyqsempai Zyqsempai left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread cmd/ctr/commands/content/prune.go
@mxpv mxpv merged commit 9108373 into containerd:master Jan 24, 2021
@dmcgowan dmcgowan deleted the add-prune-references branch March 23, 2022 22:22
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