From 50dacc554b901a3fd2167e11be6429e815d8c709 Mon Sep 17 00:00:00 2001 From: Maria Bermudez Date: Fri, 31 Aug 2018 22:28:14 -0700 Subject: [PATCH 1/2] Initial draft of product manual for tag-pruning --- docs/tag-pruning.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/tag-pruning.md diff --git a/docs/tag-pruning.md b/docs/tag-pruning.md new file mode 100644 index 000000000..a6579086d --- /dev/null +++ b/docs/tag-pruning.md @@ -0,0 +1,23 @@ +--- +description: High level discussion of tag pruning +keywords: registry, pruning, images, tags, repository, distribution +title: Tag Pruning +--- + +As of v2.6.0 you can set tag pruning policies on individual repositories that you manage. Based on your specified rules, you can automatically delete unwanted images. In addition to a policy approach, you can also set repository tag limits which limit the number of tags in a specific repository. + +## About tag pruning + +In the context of the Docker registry, tag pruning is the process of deleting image tags but not actual blobs. A garbage collection job takes care of blob deletions. + +Additionally repository tag limits are processed in a first in first out manner. For example, if you set a tag limit of 2, adding a third tag would push out the first. + +## Tag pruning in practice + + +### Example + + + +### More details about tag pruning + From 2fda032d489219100e72aa08d47d6306f9430893 Mon Sep 17 00:00:00 2001 From: Maria Bermudez Date: Thu, 6 Sep 2018 14:59:19 -0700 Subject: [PATCH 2/2] Delete tag-pruning.md Keeping tag pruning to one page for now --- docs/tag-pruning.md | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 docs/tag-pruning.md diff --git a/docs/tag-pruning.md b/docs/tag-pruning.md deleted file mode 100644 index a6579086d..000000000 --- a/docs/tag-pruning.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -description: High level discussion of tag pruning -keywords: registry, pruning, images, tags, repository, distribution -title: Tag Pruning ---- - -As of v2.6.0 you can set tag pruning policies on individual repositories that you manage. Based on your specified rules, you can automatically delete unwanted images. In addition to a policy approach, you can also set repository tag limits which limit the number of tags in a specific repository. - -## About tag pruning - -In the context of the Docker registry, tag pruning is the process of deleting image tags but not actual blobs. A garbage collection job takes care of blob deletions. - -Additionally repository tag limits are processed in a first in first out manner. For example, if you set a tag limit of 2, adding a third tag would push out the first. - -## Tag pruning in practice - - -### Example - - - -### More details about tag pruning -