docker-registry icon indicating copy to clipboard operation
docker-registry copied to clipboard

Private registry: Garbage collection

Open noymn opened this issue 9 years ago • 2 comments

Hi,

I would like to know whether is possible to clean-up layers that are not in use anymore and have been pushed. I know that this feature is already available on trusted-registry but there is something on public version (v2)?

We are keeping only 2 versions + latest of each image and we need to clean the ones that get orphan.

noymn avatar May 05 '16 09:05 noymn

Garbage collection is available on both versions (DTR and open-source v2). Btw, you are in the legacy repo.

dmp42 avatar May 07 '16 03:05 dmp42

Ops! Thanks for saying that. Can you tell me how is it enabled or how can I see if that is happening? My registry is only growing whilst the number of images or layers in the images have not changed at all.

noymn avatar May 09 '16 08:05 noymn