kt icon indicating copy to clipboard operation
kt copied to clipboard

Not able to run docker instance

Open shubham190892 opened this issue 8 years ago • 6 comments

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

shubham190892 avatar Aug 08 '18 10:08 shubham190892

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

tom-p44 avatar Sep 12 '18 14:09 tom-p44

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?

Paxa avatar Sep 13 '18 08:09 Paxa

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"

tom-p44 avatar Sep 13 '18 15:09 tom-p44

I am also seeing this issue. Using docker for mac

briansorahan avatar Oct 17 '18 13:10 briansorahan

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

Paxa avatar Oct 19 '18 10:10 Paxa

Fix confirmed - now works without the workaround. Thanks!

tom-p44 avatar Oct 19 '18 14:10 tom-p44