I was trying to build my Docker image for my Gatsby Application. Whenever I run the command docker build . -t gatsbyapp, it gives me an error:
docker build . -t gatsbyapp
f
If you are using docker desktop, restarting Docker worked for me. Troubleshoot -> Restart