Skip to content

fix: add --load to buildx to ensure images are available locally#133

Open
AaronFeledy wants to merge 1 commit intomainfrom
fix/buildx-load-flag
Open

fix: add --load to buildx to ensure images are available locally#133
AaronFeledy wants to merge 1 commit intomainfrom
fix/buildx-load-flag

Conversation

@AaronFeledy
Copy link
Member

@AaronFeledy AaronFeledy commented Feb 25, 2026

Summary

Backport of lando/core#424.

When building v4 services with buildx, the resulting image may not be found by Docker Compose:

(HTTP code 404) no such image - No such image: lando/<image>:latest

By default, docker buildx build only stores images in the buildx cache, not the local Docker daemon's image store. Adding --load (--output=type=docker) exports the build result into the local daemon.

Change

One line added to components/docker-engine.js'--load' in the buildx args array.


Note

Low Risk
Single-flag change to the buildx command plus changelog entry; low risk aside from possible performance/behavior differences when loading images into the local daemon.

Overview
Ensures buildx-built images are available in the local Docker daemon by adding --load to the docker buildx build invocation in components/docker-engine.js, preventing "no such image" failures when later referenced (e.g., by Compose).

Updates CHANGELOG.md to document the fix and reference the upstream backport.

Written by Cursor Bugbot for commit fc4fd8e. This will update automatically on new commits. Configure here.

When building v4 services with buildx, the resulting image may not
be found by Docker Compose because buildx only stores images in its
cache by default. Adding --load exports the build result into the
local Docker daemon.

Backport of lando/core#424
@netlify
Copy link

netlify bot commented Feb 25, 2026

Deploy Preview for lando-core-next ready!

Name Link
🔨 Latest commit fc4fd8e
🔍 Latest deploy log https://app.netlify.com/projects/lando-core-next/deploys/699e8203d1081d0009e176bf
😎 Deploy Preview https://deploy-preview-133--lando-core-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 92 (🟢 up 1 from production)
Accessibility: 98 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant