Skip to content

Enable delete for self hosted docker registry #580

@invisal

Description

@invisal

Is your feature request related to a problem? Please describe.
There is no way to clear unused image in the self-hosted registry. The size of the image could build up quickly if we have many app inside the cluster and frequently change on each of those app.

Describe the solution you'd like

  • I think we can enable REGISTRY_STORAGE_DELETE_ENABLED=true when we start the registry. (
    function createRegistryServiceOnNode(nodeId: string) {
    )
  • Add API to list of repository in the private registry
  • Add API for list image in each repository in the private registry
  • Add API to delete the image in the private registry.

Describe alternatives you've considered
None

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions