'Windows Docker encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The system cannot find the file specified

I'm fairly new to Docker and trying to build a Windows container, but running into this issue when I go to run it. Any help would be appreciated.

(base) D:\src\WebIntelligence\bling\blingDemo\Models>docker run -p 4200:4200 -it blingcontainer.azurecr.io/sdbackendfy22h2:v2.8 /bin/bash
docker: Error response from daemon: container c8a7a0c947264b7d07afc5e6c44aa5a8022ff7d12729f3cdf1fba2e1ba2f293a encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The system cannot find the file specified. (0x2)
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
[Event Detail: onecore\vm\compute\management\orchestration\vmhostedcontainer\processmanagement.cpp(173)\vmcomputeagent.exe!00007FF73B53AE77: (caller: 00007FF73B4EE4AB) Exception(2) tid(388) 80070002 The system cannot find the file specified.
    CallContext:[\Bridge_ProcessMessage\VmHostedContainer_ExecuteProcess]
 Provider: 00000000-0000-0000-0000-000000000000].

Dockerfile:

FROM woailaosang/sdserver:v1.2
MAINTAINER MyName

COPY SDWebServer/ Users/Administrator/Downloads/Models/SDWebServer/

Build Command:

(base) D:\src\WebIntelligence\bling\blingDemo\Models>docker build -t blingcontainer.azurecr.io/sdbackendfy22h2:v2.8 .
Sending build context to Docker daemon   6.26GB
Step 1/3 : FROM woailaosang/sdserver:v1.2
 ---> 4de20ecd31b8
Step 2/3 : MAINTAINER MyName
 ---> Using cache
 ---> 59cc461e724f
Step 3/3 : COPY SDWebServer/ Users/Administrator/Downloads/Models/SDWebServer/
 ---> Using cache
 ---> 1ab457109f43
Successfully built 1ab457109f43
Successfully tagged blingcontainer.azurecr.io/sdbackendfy22h2:v2.8


Solution 1:[1]

So turns out I was supposed to run using cmd.exe instead of /bin/bash, because it's a Windows docker image on a Windows machine.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 wheeeee