kafka-ops / julie

A solution to help you build automation and gitops in your Apache Kafka deployments. The Kafka gitops!
MIT License
417 stars 113 forks source link

Issues on M1 (arm64) #556

Open joerajeev opened 1 year ago

joerajeev commented 1 year ago

Describe the bug Running julie on M1 gives a warning, is slow, and sometimes hangs completely.

To Reproduce Steps to reproduce the behavior:

  1. Use a M1 machine (arm64)
  2. Run docker run purbon/kafka-topology-builder:latest julie-ops-cli.sh --help

Expected behavior a quick response of the help menu

Actual Behaviour 1) Prints warning WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 2) Takes over 10 seconds to print the help 3) Occasionally hangs completely and cannot even be killed wth Ctrl + C.

Runtime (please complete the following information):

Additional info Tried specifying the platform but this gives an error. docker run --platform linux/arm64 purbon/kafka-topology-builder:latest julie-ops-cli.sh --help WARNING: image with reference purbon/kafka-topology-builder was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64 docker: Error response from daemon: image with reference purbon/kafka-topology-builder:latest was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64.

Also note that this issue is not just for help but for any command.