hcsshim::ComputeSystem::CreateProcess - Begin Operation: Error 80070002 ("The system cannot find the file specified") with Windows: Experimental: ContainerD runtime #674
Build container with build -t busybox . using the following Dockerfile:
FROM mcr.microsoft.com/windows/servercore:ltsc2019
RUN mkdir C:\tmp && mkdir C:\bin
ADD http://frippery.org/files/busybox/busybox.exe /bin/
RUN setx /M PATH "C:\bin;%PATH%"
RUN powershell busybox.exe --list ^|%{$nul = {cmd /c mklink C:\bin\$_.exe busybox.exe}}
CMD ["sh"]
Run container using run -i -a stdin busybox echo foo
Expected:
Success
Observed:
Error response from daemon: CreateProcess bf7f42b8b104d9a0915360fd693d7b595236bd80c419ad51f97171a57a463965: The system cannot find the file specified.
(extra info: {"CommandLine":"echo foo","WorkingDirectory":"C:\\","CreateStdInPipe":true,"CreateStdOutPipe":true,"CreateStdErrPipe":true}): unknown.
Setup:
containerd
[https://github.com/containerd/containerd/blob/master/.appveyor.yml]dockerd
built building usingwindows.ps1
from the repo docker\ee-enginebuild -t busybox .
using the following Dockerfile:run -i -a stdin busybox echo foo
Expected: Success
Observed:
Output of
docker info
:containerd
traces[see around line 171 of the traces]: