Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker RUN fails to execute shell script #24388
The shell script should be executed successfully.
Root Cause / Notes
I suspect that there's a problem with arguments getting passed to
This scenario yielded the following, cryptic error:
Ah that was on Docker for Mac. Will test on Windows.
I was able to reproduce this on native Linux by running
Just to confirm was @ijc25 wrote, I was able to run your example below, but I created the files using
I've tested this on Windows 10 Pro (build 10586)
I had to remove the
In powershell, I get: