Skip to content
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

Not able to run docker instance #2

Closed
shubham190892 opened this issue Aug 8, 2018 · 6 comments
Closed

Not able to run docker instance #2

shubham190892 opened this issue Aug 8, 2018 · 6 comments

Comments

@shubham190892
Copy link

I am getting the following error while running docker process.
/usr/bin/kt: /usr/bin/kt: cannot execute binary file

@tom-p44
Copy link

tom-p44 commented Sep 12, 2018

Same for me. I'm running on Windows 10.

@Paxa
Copy link
Owner

Paxa commented Sep 13, 2018

I wasn't aware of docker on windows until now... I don't have windows so can't help with development but please feel free to submit a PR

How does it work on windows? it runs linux kernel or tries to execute binaries on windows?

@tom-p44
Copy link

tom-p44 commented Sep 13, 2018

Docker runs on a Linux kernel in Windows using Hyper-V.

It "creates a Boot2Docker virtual machine locally on your Windows machine using Hyper-V".
source

After looking into this issue more I don't think me running it on Windows is the cause, but I'm not certain. Regardless, I found a workaround is to add "-c" argument to bash like so:
docker run evpavel/kt -c "kt topic -brokers my-kafka-server:9092"

@briansorahan
Copy link

I am also seeing this issue. Using docker for mac

@Paxa
Copy link
Owner

Paxa commented Oct 19, 2018

Pushed new version, I hope it will work now. Sorry for inconvenience

@tom-p44
Copy link

tom-p44 commented Oct 19, 2018

Fix confirmed - now works without the workaround. Thanks!

@Paxa Paxa closed this as completed Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants