diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-06-20 09:24:03 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-06-20 09:24:03 +0000 |
commit | f4605ad880e9b76c94218cb7c4f16215c4f62e8e (patch) | |
tree | fbfbf093bf48c121c03f4940dfa1e9b032910782 | |
parent | e0125d7bc006d5ccbad9db5258d403071ced674d (diff) | |
parent | d29ba165593e38d05b0133a87e2b040094a875d0 (diff) | |
download | gitlab-ce-f4605ad880e9b76c94218cb7c4f16215c4f62e8e.tar.gz |
Merge branch 'docs-update-container-registry-api' into 'master'
Update Docs for Container Registry API Delete Endpoints
See merge request gitlab-org/gitlab-ce!29709
-rw-r--r-- | doc/api/container_registry.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/container_registry.md b/doc/api/container_registry.md index 1f17af1f1e9..64ea15bca93 100644 --- a/doc/api/container_registry.md +++ b/doc/api/container_registry.md @@ -145,6 +145,9 @@ DELETE /projects/:id/registry/repositories/:repository_id/tags/:tag_name curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/registry/repositories/2/tags/v10.0.0" ``` +This action does not delete blobs. In order to delete them and recycle disk space, +[run the garbage collection](https://docs.gitlab.com/omnibus/maintenance/README.html#removing-unused-layers-not-referenced-by-manifests). + ## Delete repository tags in bulk Delete repository tags in bulk based on given criteria. @@ -174,6 +177,8 @@ This API call performs the following operations: These operations are executed asynchronously and it might take time to get executed. You can run this at most once an hour for a given container repository. +This action does not delete blobs. In order to delete them and recycle disk space, +[run the garbage collection](https://docs.gitlab.com/omnibus/maintenance/README.html#removing-unused-layers-not-referenced-by-manifests). NOTE: **Note:** Due to a [Docker Distribution deficiency](https://gitlab.com/gitlab-org/gitlab-ce/issues/21405), |