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

Return pre 2.11 behavior around moby/buildkit:buildx-stable-1 image #9953

Closed
botanegg opened this issue Oct 25, 2022 · 1 comment
Closed

Comments

@botanegg
Copy link

botanegg commented Oct 25, 2022

Description

After 2.11 release compose builds works via moby/buildkit:buildx-stable-1 to support multiplatform build
But when I dont use this feature (build for local platform (x86 in my way)) i also need to download moby/buildkit:buildx-stable-1 image, start container, build my images, then export to docker back.
Is it have any parameter to disable moby/buildkit:buildx-stable-1 and return back to pre-2.11 behaviour for single-platform build?

2.11 breaks regular user scenarios #9856 (comment)

@botanegg botanegg changed the title Return pre 2.10 behavior around moby/buildkit:buildx-stable-1 image Return pre 2.11 behavior around moby/buildkit:buildx-stable-1 image Oct 25, 2022
@botanegg
Copy link
Author

botanegg commented Oct 25, 2022

For those who google it:

Problem can be introduced by previously created docker-container driver e.g. by docker buildx create --use

Install docker-buildx to your system (should be installed due to using previously command)
e.g. for Archlinux:

pacman -S docker-buildx

Check your builder instances

docker buildx ls

Set the builder instance to default

docker buildx use default

Run your build via

docker compose build

It works!

@botanegg botanegg closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant