Details
Description
When Nexus makes upstream Docker requests (e.g. https://your-org-your-repo.bintray.io/v2/your-package/manifests/latest), Bintray responds with a `406/Not Acceptable`.
After much experimentation, we determined this can be resolved in any of the following ways:
- Send no `Accept` headers. Currently, Nexus sends:
Accept:application/vnd.docker.distribution.manifest.v2+json
Accept:application/vnd.docker.distribution.manifest.v1+prettyjws
Accept:application/vnd.docker.distribution.manifest.v1+json - In addition to these, send:
Accept:application/json - Send preemptive auth.
It looks as though the Docker CLI doesn't send any `Accept` headers, so this could be the easiest option.
Expected
The docker CLI does work against bintray. NXRM should act like docker CLI does as close as possible.
Attachments
Issue Links
- is related to
-
NEXUS-25468 Add support for bearer token authentication to proxied upstream docker private repositories
-
- Closed
-
- relates
-
NEXUS-25935 docker proxy repos do not work with pro and enterprise bintray docker registries using access keys
-
- Closed
-