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 icon on the top-right of the management page.
Check the Yes, destroy this Container Registry box in the confirmation prompt, and click Destroy Container Registry to permanently delete the target registry.
Send a GET
request to the List Container 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 Container 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 the available registries 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>
No comments yet.