mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 11:37:56 +08:00
0eafaeb04384d605a98bbd5c65103960e7385202
Docker Compose and Buildx proxy through the Docker daemon, which sends a User-Agent starting with "docker/<version>" rather than the "Docker-Client/<version>" string sent by direct Docker CLI pulls. This caused compose/buildx pulls to skip the 401 challenge on registries with mixed anonymous/authenticated access policies, resulting in 'unauthorized' errors. Add strings.HasPrefix(ua, "docker/") alongside the existing Docker-Client check so daemon-proxied requests from any upstream tool (compose, buildx, etc.) are handled correctly. Fixes #3991
zot
zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!
Documentation for zot is located at: https://zotregistry.dev
Code of conduct details are here.
License
Description
Languages
Go
93%
Shell
6.4%
Makefile
0.4%