I’m running into a problem with DigitalOcean Container Registries using doctl.
- Creating a registry (
doctl registry create) works fine.
- However,
doctl registry get and doctl registry delete fail with a 412 error:
Error retrieving container registry: GET https://api.digitalocean.com/v2/registry: 412
This API is not supported if you have created multiple registries. Please use '/v2/registries' instead.
I also tested with Terraform — the same GET request fails there too. This confirms it’s an issue with the DigitalOcean API, not the tools or our configuration.
Environment:
doctl version 1.99.0-release
OS: Win11
Additional Details:
I’m running into a problem with DigitalOcean Container Registries using
doctl.doctl registry create) works fine.doctl registry getanddoctl registry deletefail with a 412 error:I also tested with Terraform — the same GET request fails there too. This confirms it’s an issue with the DigitalOcean API, not the tools or our configuration.
Environment:
doctl version 1.99.0-release
OS: Win11
Additional Details: