Error: “Failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest” when building a Docker image

The cause was simple. I had my Docker desktop running on Linux containers and the image was build from a Windows image.

Simply switching to Windows containers solved the problem.

The message is clueless, so I hope this save some time for others.

Leave a Comment