container b24cf78462538036fe7794e731763e33dd594323e4234cfa4e16b647f24832c1 encountered an error during CreateProcess: failure in a Windows system call: Le fichier spécifié est introuvable. (0x2) extra info: {"ApplicationName":"","CommandLine":"bin/Release/Tes.exe input1 output","User":"","WorkingDirectory":"C:\\","Environment":{},"EmulateConsole":false,"CreateStdInPipe":true,"CreateStdOutPipe":true,"CreateStdErrPipe":true,"ConsoleSize":[0,0]}
My exe is in this folder Test/bin/Release/Test.exe and my dockerfile in Test/.
This Run launched with C:/ directory or at this Test/? Or may be other.
The filename, directory name, or volume label syntax is incorrect.
i did that :
FROM microsoft/nanoserver
WORKDIR C
#ENTRYPOINT ["C:\Users\TestDev\Documents\Visual Studio 2017\Projects\Test\TestExe\bin\Release\Test.exe"]
RUN ["C:\Users\TestDev\Documents\Visual Studio 2017\Projects\Test\TestExe\bin\Release\Test.exe", "input1", "output"]
With entrypoint, he finished to build but when i run, he go this error :
The filename, directory name, or volume label syntax is incorrect.
And when i m using RUN :
—> Running in 59d245f21e30
The filename, directory name, or volume label syntax is incorrect.
The command ‘cmd /S /C [“C:\Users\TestDev\Documents\Visual Studio 2017\Projects\Test\TestExe\bin\Release\Test.exe”, “input1”, “output”]’ returned a non-zero code: 1