lima: error: failed to solve: no reference for default platform linux/arm64/v8
Description
I am unsure if where this issue resides so decided to start here.
My environment is:
- Apple MacBook Pro M1 Max (64GB RAM)
- macOS Monterey 12.3 (latest version as of this writing)
- limactl version 0.9.2 (latest version as of this writing)
- QEMU 6.2.0_1 (latest version as of this writing)
As of the previous version of Lima (0.9.1) when building a multi-architecture image (linux/amd64 and linux/arm64) everything worked as expected. I upgraded to Lima 0.9.2 and I now received the following error:
------
> exporting to image:
------
error: failed to solve: no reference for default platform linux/arm64/v8
make: *** [images] Error 1
Again, I thought I’d start here since, from my perspective, the only variable I can think of is the new Lima upgrade from 0.9.1 to 0.9.2.
As another point of reference, this works as expected on my Intel Mac mini in that both linux/amd64 and linux/arm64 images build as expected.
I am happy to provide more detail but am curious if anyone has experienced this issue with the latest release?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (8 by maintainers)
Lima v0.10.0 (https://github.com/lima-vm/lima/releases/tag/v0.10.0) already contains nerdctl-full v0.19.0 (https://github.com/containerd/nerdctl/releases/tag/v0.19.0) which contains BuildKit 0.10.1.
@afbjorklund Issue opened with BuiltKit.
@mprimeaux with version 0.18, nerdctl switched from runc to containerd for the buildkit build workers.
Could be related, perhaps ?
If you run with
nerdctl --debug build, it will show you the actualbuildctlcommand being invoked…Unfortunately
nerdctl versiondoesn’t show the buildkit version, I should make a PR to add that info.