-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service 'kafka' failed to build: The command '/bin/sh -c /tmp/download-kafka.sh' returned a non-zero code: 8 with docker-machine #50
Comments
Looks like the problem with parsing a mirror list in download-kafka.sh. complete snippet:
|
There are two issues with this script running on OSX:
Easiest solution is to install jq, and replace the sed command with |
this has been fixed in #49 |
I had the same problem and it turned out to be caused by download-kafka.sh having Windows style EOL (CRLF instead of LF) when cloned. If you are running on a Windows machine, make sure that you configure git with core.autocrlf false.
|
I installed the latest docker-machine toolset (so I'm not using boot2docker anymore). But I'm getting this error when running
docker-compose up
:Step 5 : RUN /tmp/download-kafka.sh ---> Running in 33530bfa3eb2 Service 'kafka' failed to build: The command '/bin/sh -c /tmp/download-kafka.sh' returned a non-zero code: 8
Have anyone seen something similar or know how to debug further?
The text was updated successfully, but these errors were encountered: