Open garystafford opened 6 years ago
Same the condition, could anyone help?
Hi, @garystafford
I've found the solution, similar to PR#195
Under the project directory, run dos2unix *.sh
will fix this problem.
That PR may fix it - but there have been a number of different build failures on Windows reported, such as https://github.com/wurstmeister/kafka-docker/issues/146 - which has a different error message.
There are also docker compose options such as https://docs.docker.com/compose/reference/envvars/#compose_convert_windows_paths which may help. However, I don't have access to a Windows machine to reproduce and/or verify a fix.
What helped me, since I was cloning the repo, was setting CLRF line endings to false. So I deleted the repo and called git config --global core.autocrlf false
And re-cloned it again.
Under the project directory, run
dos2unix *.sh
will fix this problem.
This resolved it for me as well.
What helped me, since I was cloning the repo, was setting CLRF line endings to false. So I deleted the repo and called
git config --global core.autocrlf false
And re-cloned it again.
Worked for me. Thank you! 👍
What helped me, since I was cloning the repo, was setting CLRF line endings to false. So I deleted the repo and called
git config --global core.autocrlf false
And re-cloned it again.
Encountered the same error on Mac, and sorted out my gitconfig was autocrlf=true. After changing it to false, re-clone, and everything goes back correctly.
What helped me, since I was cloning the repo, was setting CLRF line endings to false. So I deleted the repo and called
git config --global core.autocrlf false
And re-cloned it again.
Worked for me!
I facing this problem. Because i uploaded cloned code from windows machine. But when trying cloned directly in my server (debian 9.5) the issue solved.
Worked for me too, thanks! https://docs.docker.com/compose/reference/envvars/#compose_convert_windows_paths
Running the commands,
docker-compose up -d
or thedocker-compose -f docker-compose-single-broker.yml up
, consistently fails on Docker build of the Kafka image.System: Windows 10 Enterprise Docker Version 18.04.0-ce-win62 (17151)