Docker Community Forums

Share and learn in the Docker community.

Enable option for hub.docker.com (aka cloud) to be able to delete images?

Is it possible to enable delete option for docker cloud registry? As I can’t directly log in to server, how can I enable REGISTRY_STORAGE_DELETE_ENABLED option?

When I try to delete image by digest value, I get {"message":"405: Method Not Allowed"}

I tried these endpoints:

https://docs.docker.com/docker-hub/api/latest/#operation/PostNamespacesDeleteImages

DELETE /v2/<name>/manifests/<reference>

Either way I get same status code returned.