Cannot DELETE from private docker repo


I’m run sonatype/nexus3:3.63.0 from docker. There’s also nginx reverse proxy with SSL cert.

When trying to delete from private docker repo using docker’s API (as wrote at I get the error:

$ curl -u den -sX DELETE https://registry.internal:4444/v2/clickhouse/clickhouse-server/manifests/sha256:85a5c165103b7ba1a2b06dda73bfc9a2248c37a11567a171c74a484f13f17e8e
Enter host password for user ‘den’: **********
{“errors”:[{“code”:“UNAUTHORIZED”,“message”:“access to the requested resource is not authorized”,“detail”:null}]}

The role for user den has the following privileges:


What’s wrong? Any help is appreciated.