Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UpstreamClientUserAgent to dockerclient #1678

merged 2 commits into from Dec 13, 2022


Copy link

This sets an UpstreamClient User-Agent on our docker client which gets injected in the outgoing request.

On the OCI registry side we can inspect the incoming request, which will look something like this:

docker/20.10.21 go/go1.18.7 git-commit/3056208 kernel/5.15.49-linuxkit os/linux arch/arm64 UpstreamClient(buf-cli-1.11.0-dev)

And parse out the UpstreamClient portion.

@mfridman mfridman merged commit 2991585 into main Dec 13, 2022
6 checks passed
@mfridman mfridman deleted the update-docker-client branch December 13, 2022 21:31
Monirul1 pushed a commit to Monirul1/buf that referenced this pull request Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants