Can't build Docker image for react-app

I get this error after entering: docker build -t react-app .

[internal] load metadata for Docker


failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head…

1 Like

Ran into this myself and I found that pulling the image by itself first using docker pull <name of image here> helps fix this issue. This command can be copied on docker hub at the top right of the description.

Appears to be Windows specific from what I can gather. (Feel free to correct that assumption if it’s incorrect.)