I get the error:
failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest
when building the following Dockerfile:
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8
COPY . /inetpub/wwwroot
The cause was simple, i had my docker desktop running on linux containers and the image is build from a windows image.
Simply switching to windows containers solved the problem.
The message is clueless, so i hope this save some time to others.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With