Docker Container Image Not Working (Windows)
PBSWE opened this issue · comments
The Docker Desktop is working and engine is running. Attempting to create a new container following the instructions on the code tab, however in the second step where the command line is "build image", the code prompts a program to choose to open the file with and regardless of the choice (Docker Desktop or Docker CLI, etc.) nothing happens. Docker Desktop continues to have no container created. Submitting this ticket per AWS Support guidance.
Running into the exact same issue. Following for response.
Has anyone resolved this error?
mwaa-local-env
is a bash shell script. Are you trying to execute this in Powershell directly?
The resolution to this specific issue is to run the bash script from the WSL command line. If run in Windows, it won't work, b/c Windows will prompt you to open via an application selection list.
Something else to bear in mind: line endings. If you git clone
the aws-mwaa-local-runner project from Windows rather than WSL, then you have to convert all line endings of files in the project. I used this command to do so: find . -type f -exec dos2unix -v {} \;
(run from the aws-mwaa-local-runner directory)
Be sure to get dos2unix first, via a command line this one: sudo apt install dos2unix
I hope that helps.