Deleting a Vultr Container Registry removes all associated repositories and images, helping to manage costs and simplify your infrastructure by eliminating unused or redundant registries. This process ensures that you only retain the resources you need, streamlining your container management.
Follow this guide to delete a container registry on your Vultr account using the Vultr Customer Portal, API, or CLI.
Navigate to Products and click Container Registry.
Click your target registry to open its management page.
Click delete on the top-right of the management page.
Click Destroy Container Registry in the confirmation prompt to permanently delete the target repository.
Send a GET
request to the List Registries endpoint and note the target registry's ID.
$ curl "https://api.vultr.com/v2/registries" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a DELETE
request to the Delete Registry endpoint to delete the target registry.
$ curl "https://api.vultr.com/v2/registry/<registry-id>" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all registries available in your Vultr account and note the target registry's ID.
$ vultr-cli container-registry list
Delete the target registry.
$ vultr-cli container-registry delete <registry-id>