Closed pcace closed 6 months ago
Having the same problem
I found the solution:
The error code 405 indicates that deletion is not enabled for the registry or the registry is configured to be a pull-through cache as stated in the documentation.
So you have to enable deletion on the registry by doing one of the following things:
REGISTRY_STORAGE_DELETE_ENABLED: 'true'
config.yml
which is documented here
delete:
enabled: true
After that restart the container and it should work.
Please keep in mind: This does not delete the data from the registry as far as I understood see #147 for more information
Thanks a lot! That seems to fix it for me!
HI there, waht can be the reason not to be able to delete images via the ui? whenever i click on delete on a tag, i get this error Message:
{"errors":[{"code":"UNSUPPORTED","message":"The operation is unsupported."}]}
I run the docker-registry-ui with these env variables:SINGLE_REGISTRY=true REGISTRY_TITLE=Docker Registry UI DELETE_IMAGES=true SHOW_CONTENT_DIGEST=true NGINX_PROXY_PASS_URL=http://registry:5000 SHOW_CATALOG_NB_TAGS=true CATALOG_MIN_BRANCHES=1 CATALOG_MAX_BRANCHES=1 TAGLIST_PAGE_SIZE=100 REGISTRY_SECURED=false CATALOG_ELEMENTS_LIMIT=1000 REGISTRY_STORAGE_DELETE_ENABLED=true
My private docker registry configuration
System information
OS: Debian
Browser:
Docker registry UI: