Reputation: 1085
docker run mcr.microsoft.com/windows/servercore:1809 -it
C:\program file\docker\docker.exe: Error response from daemon container xxxx encountered an error during CreateProcess: failure in a Windows system call: The system cannot find the file specified. (0x2) extra info: {CommandLine":"-it","WorkingDirectory":"C:\","CreateStdInPipe:true,"CreateStdOutPipe":true "CreateStdErrPipe":true,"ConsoleSize":[0,0]}.
docker ps
Shows nothing.
Upvotes: 0
Views: 841
Reputation: 1498
The parameter -it
needs to come before mcr.microsoft.com/windows/servercore:1809
or else docker tries to run -it
as a programm inside the container.
Upvotes: 1