I have created build_docker.sh
file in windows machine which has below contents.
#!/usr/bin/env bash
#This script build docker image
docker build -t hello-world .
Where I try to run above file using command sudo sh build_docker.sh
It fails with an error, Unable to prepare context: path ".\r" not found
I am using 4.2.46(2)-release
Bash version
What I am missing here?