Failed to build: hcsshim::PrepareLayer - failed failed in Win32: Incorrect function. (0x1)

The Docker Desktop for Windows community forum is place where users can meet and discuss Docker Desktop for Windows and related technologies.
If you encounter problems with Docker for Windows, we recommend:

I am getting this error “failed to build: hcsshim::PrepareLayer - failed failed in Win32: Incorrect function. (0x1)” while building a docker image. I have a Windows 10 Pro OS.

Finally, if your issue has not been addressed elsewhere, running:

  • :whale: :arrow_right: Settings :arrow_right: Diagnose & Feedback :arrow_right: Open Issues.

This forum is not an official product support or issue reporting channel.