GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Docker Build Cloud driver by crazy-max · Pull Request #4017 · docker/buildx

Conversation

@crazy-max

@crazy-max crazy-max commented Aug 18, 2026

Copy link
Copy Markdown
Member

This upstreams the Docker Build Cloud cloud driver into public Buildx so Build Cloud users can use the standard Buildx release path instead of a private client fork. The driver lets Buildx create builders from existing Build Cloud groups with --driver cloud <account>/<builder> or cloud://<account>/<builder>, resolves the managed BuildKit instances into Buildx nodes, authenticates with Docker credentials, and connects to the Build Cloud data plane while keeping the backend service implementation private.

The series adds the small builder and driver extension points needed for this integration, wires cloud pull through the upstream BuildKit session exporter path, preserves normal Buildx output behavior when cloud pull cannot be used, and documents the Build Cloud-specific create and output semantics. The Buildx reference links to the existing Docker Docs for Docker Build Cloud setup, Building with Docker Build Cloud, and Docker Build Cloud CI usage.

Special thanks, in no particular order, to @fiam, @jedevc, @silvin-lubecki, @sgarcez, @nicks, and @stevvooe for the work that made Docker Build Cloud possible. I may be missing people here, but the intent is to acknowledge the broader team effort behind this work.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

thaJeztah, tianon, and mikesir87 reacted with hooray emoji silvin-lubecki, dvdksn, nicks, sgarcez, fiam, jedevc, thaJeztah, and mikesir87 reacted with heart emoji
All reactions
  • 🎉 3 reactions
  • ❤️ 8 reactions
@github-actions github-actions Bot assigned crazy-max Aug 18, 2026
@github-actions github-actions Bot added area/driver area/build area/cli area/builder area/docs area/dependencies area/tests area/project labels Aug 18, 2026
@crazy-max crazy-max added this to the v0.37.0 milestone Aug 18, 2026
@crazy-max
crazy-max requested a review from tonistiigi August 18, 2026 09:35
@crazy-max crazy-max added the status/needs-docs-follow-up label Aug 18, 2026
@crazy-max
crazy-max requested a review from dvdksn August 18, 2026 09:55
@dvdksn dvdksn mentioned this pull request Aug 18, 2026
docs: align Build Cloud with standard Buildx docker/docs#25885
Merged
dvdksn
dvdksn reviewed Aug 18, 2026
View reviewed changes
Comment thread docs/reference/buildx_create.md Outdated
Comment on lines +150 to +160
Tagged builds without an explicit output, `--load`, and
`--output type=docker` may use cloud pull to load the result into the selected
Docker context. `default-load=false` does not disable cloud pull for tagged
cloud builds with no explicit output. Explicit Docker archive, stdout, or
directory destinations, such as `--output type=docker,dest=image.tar`, keep
using normal Docker output handling.

Cloud pull is only used for a single cloud-pullable output on a single node and
single platform. Multi-node builds, multi-platform loads, conflicting Docker
output contexts, and multiple distinct image output requests use the normal
Buildx output path.

@dvdksn dvdksn Aug 18, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can defer some of this detail to a different doc. I'm opening a companion PR in docker/docs where I tried to cover cloud pull in a dedicated section in the exporter docs. We could cross-reference to that section from here and keep this high-level. Something like:

Suggested change
Tagged builds without an explicit output, `--load`, and
`--output type=docker` may use cloud pull to load the result into the selected
Docker context. `default-load=false` does not disable cloud pull for tagged
cloud builds with no explicit output. Explicit Docker archive, stdout, or
directory destinations, such as `--output type=docker,dest=image.tar`, keep
using normal Docker output handling.
Cloud pull is only used for a single cloud-pullable output on a single node and
single platform. Multi-node builds, multi-platform loads, conflicting Docker
output contexts, and multiple distinct image output requests use the normal
Buildx output path.
When you don't specify an output, an untagged result remains in the cloud build
cache. If you use `--tag`, Buildx automatically loads the image when the build
targets a single platform and runs on one cloud node. For details about loading
behavior, Docker contexts, and other output configurations, see
[Load results from Docker Build Cloud](https://docs.docker.com/build/exporters/#load-results-from-docker-build-cloud).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dvdksn dvdksn Aug 18, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The downstream docs PR is: docker/docs#25885

Here's the new section on cloud pull/loading results to the local store: https://deploy-preview-25885--docsdocker.netlify.app/build/exporters/#load-results-from-docker-build-cloud

(That might need some improvements still but it seems like a good place to cover it.)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

crazy-max reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@crazy-max
crazy-max marked this pull request as ready for review August 18, 2026 12:33
@crazy-max
crazy-max force-pushed the cloud-driver branch 2 times, most recently from 45f94e1 to 873ac53 Compare August 18, 2026 13:56
@crazy-max crazy-max added the area/driver/cloud label Aug 19, 2026
crazy-max and others added 11 commits August 20, 2026 11:26
@crazy-max
add cloud driver
c39ceac
Add the cloud driver with multi-region data-plane selection, optional
provenance files, explicit cross-platform pulls, and upstream BuildKit
integration.

Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Nick Adcock <[email protected]>
Signed-off-by: Nick Santos <[email protected]>
Signed-off-by: Sergio Garcez <[email protected]>
Signed-off-by: Silvin Lubecki <[email protected]>
@fiam @crazy-max
cloud: pull image during export finalization
9d0f3b2
Register cloud pull through BuildKit's session exporter so it runs while result refs are still retained. This avoids relying on post-solve metadata after the daemon may have garbage-collected blobs.

Pin BuildKit to the OSS callback commit based on v0.31.0.

Signed-off-by: CrazyMax <[email protected]>
Co-authored-by: CrazyMax <[email protected]>
@fiam @crazy-max
builder: let factories name builders
f0f0d87
Allow driver factories to derive default builder names from endpoints
before an instance is stored. Move cloud normalization into its factory.

Signed-off-by: CrazyMax <[email protected]>
@fiam @crazy-max
builder: let drivers resolve nodes
50d18c0
Co-authored-by: CrazyMax <[email protected]>

Signed-off-by: CrazyMax <[email protected]>
@fiam @crazy-max
build: let drivers prepare solve options
de05d88
Co-authored-by: CrazyMax <[email protected]>

Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: validate builder names before resolving nodes
85eaeb5
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: harden builder instance requests
0b337b7
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: validate bare internal endpoint hosts
df8f569
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: require descriptor before cloud pull
f89b80a
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
build: test no-output warning behavior
b8184af
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: avoid caching token refresh failures
4dd66d3
Signed-off-by: CrazyMax <[email protected]>
crazy-max added 9 commits August 20, 2026 11:26
@crazy-max
cloud: clean up temporary pull image on errors
2ba0f56
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: simplify registry token pull detection
ceea7f3
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: clean up driver error and header handling
5a7fab5
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: surface health check failures
1da20d6
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: honor retry-after on retries
a58e706
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
desktop: expose buildx version fallback
9fa5927
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
cloud: wrap external client errors
596f1b1
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
docs: document cloud driver create behavior
bade1fa
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
docs: add cloud driver project metadata
f9be50c
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the cloud-driver branch 2 times, most recently from da0f615 to 44df7f5 Compare August 21, 2026 12:36
@crazy-max
dockerutil: share docker progress decoding
53e97e4
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the cloud-driver branch from 44df7f5 to 53e97e4 Compare August 21, 2026 13:46
tonistiigi
tonistiigi approved these changes Aug 25, 2026
View reviewed changes
@crazy-max
crazy-max merged commit d40febc into docker:master Aug 25, 2026
164 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@crazy-max
crazy-max deleted the cloud-driver branch August 25, 2026 08:04
@crazy-max crazy-max mentioned this pull request Aug 26, 2026
Use official Buildx releases for cloud driver docker/setup-buildx-action#606
Merged
@rancherbot rancherbot mentioned this pull request Sep 3, 2026
rddepman: bump dockerBuildx from 0.36.1 to 0.37.0 rancher-sandbox/rancher-desktop#10912
Merged
@r-desktop-workflow-from-workflow r-desktop-workflow-from-workflow Bot mentioned this pull request Sep 10, 2026
rddepman: bump dockerBuildx from 0.35.0 to 0.37.0 rancher-sandbox/rancher-desktop-2#746
Merged
@crazy-max crazy-max removed the status/needs-docs-follow-up label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tonistiigi tonistiigi tonistiigi approved these changes
+1 more reviewer
@dvdksn dvdksn dvdksn left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@crazy-max crazy-max

Labels

area/build area/builder area/cli area/dependencies area/docs area/driver/cloud area/driver area/project area/tests

Projects

None yet

Milestone

v0.37.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@crazy-max @tonistiigi @dvdksn @fiam
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.