dxf
dxf copied to clipboard
Docker registry v2 client in Python
DXF bypass authorization if the response is OK, but some registry (`zot`) returns an empty _catalog and a HTTP 200 OK response for anonymous users with all required `www-authenticate` headers....
Make the `service` parameter optional, since some registries do not use it. The same logic [can be found in containerd](https://github.com/containerd/containerd/blob/61f91b963ef244daec1bda6700fe3f0b1aee50c6/core/remotes/docker/auth/fetch.go#L187). Fixes #57
### Steps to reproduce This example uses the NVIDIA NGC registry, but the issue may be relevant for other registries too. 1. Get an NGC API key as described [here](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#id1)....
Hi! I am trying to use dxf with harbor. But when I try to set layer alias, I get error 500 and this in harbor logs: `2025-08-21T08:15:03Z [ERROR] [/lib/http/error.go:57]: {"errors":[{"code":"UNKNOWN","message":"unknown:...
Trying to use the cli just to get oriented, and I'm unable to run `dxf list-repos` ```0.734 Traceback (most recent call last): 0.737 File "/usr/local/bin/dxf", line 8, in 0.737 sys.exit(main())...