# doctl registries garbage-collection – DigitalOcean Documentation > The subcommands of `doctl registries garbage-collection` start a garbage collection, retrieve or cancel a currently-active garbage collection, or list past garbage collections for a specified registry. - [doctl registries garbage-collection cancel](https://docs.digitalocean.com/reference/doctl/reference/registry/garbage-collection/cancel/index.html.md): Cancels the currently-active garbage collection for a container registry. - [doctl registries garbage-collection get-active](https://docs.digitalocean.com/reference/doctl/reference/registry/garbage-collection/get-active/index.html.md): Retrieves the currently-active garbage collection for a container registry, if any active garbage collection exists. Information included about the registry includes: - UUID - Status - Registry name - Create time - Updated at time - Blobs deleted - Freed … - [doctl registries garbage-collection list](https://docs.digitalocean.com/reference/doctl/reference/registry/garbage-collection/list/index.html.md): Retrieves a list of past garbage collections for a registry. Information about each garbage collection includes: - UUID - Status - Registry name - Create time - Updated at time - Blobs deleted - Freed bytes - [doctl registries garbage-collection start](https://docs.digitalocean.com/reference/doctl/reference/registry/garbage-collection/start/index.html.md): Starts a garbage collection on a container registry. You can only have one active garbage collection at a time for a given registry.