Cannot pull a .NET image on Ubuntu AMD built on macOS

I formatted your post this time. Please follow this guide to use code blocks next time. How to format your forum posts

Regarding the issue, I guess this is just a test Dockerfile as the first FROM instruction would be ignored this way so it doesn’t matter how specific its architecture is.

On the other hand, I ran it and it didn’t show any error message. What does this command show you?

docker buildx ls

If you have multiple builders, you might need to switch to desktop-linux

docker buildx use desktop-linux