Following the the Getting Started guide. I'm using the latest version of Docker Desktop for Windows (4.17.0 99724) on Windows 11 latest / all updates applied as of this writing.
... Layer Caching section, in step 3, you'll get an error:
C:\source\app>docker build -t getting-started .
[+] Building 0.0s (1/2)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2B 0.0s
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1883853740/Dockerfile: no such file or directory
To remedy, followed instructions in the Stack Overflow article below to resolve. Go to Settings > Docker Engine and modify the "buildkit:" entry from "true" to "false".
However, I have no idea what I'm doing here ... there's probably a better way to do this? And the way I fixed it may have long term ramifications I don't know about because, after all, I'm just "getting started" here.
Following the the Getting Started guide. I'm using the latest version of Docker Desktop for Windows (4.17.0 99724) on Windows 11 latest / all updates applied as of this writing.
On page:
http://localhost/tutorial/image-building-best-practices/#layer-caching
... Layer Caching section, in step 3, you'll get an error:
To remedy, followed instructions in the Stack Overflow article below to resolve. Go to Settings > Docker Engine and modify the "buildkit:" entry from "true" to "false".
https://stackoverflow.com/questions/64221861/an-error-failed-to-solve-with-frontend-dockerfile-v0
However, I have no idea what I'm doing here ... there's probably a better way to do this? And the way I fixed it may have long term ramifications I don't know about because, after all, I'm just "getting started" here.