简体   繁体   中英

Install Kafka docker image on windows 10 (in Windows Container mode)

I am trying to install Kafka docker image on windows 10, but it is always saying "image operating system "linux" cannot be used on this platform".

Note: I am in "Windows container mode".

Although, if I change the docker setting "Switch to Linux containers", then there are various images on docker like spotify/kafka, wurstmeister/kafka which I am able to install.

Question: Do we have an image of kafka on docker hub which can be install on windows while in Winodws Container mode?

I didn't find one - I think the reasons are:

  • Everyone uses Kafka on linux for production
  • Supporting all flavours of Windows container requires a bunch of tags
  • Linux containers work with Docker CE

That said, I made a dev/test windows container dockerfile for kafka which I've shared on GitHub , and you can build locally.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM