Obviously, I discover there is error that the kafka-run-class script not found java command, and the $JAVA_HOME is empty, in other words, the $PATH variables's value does not have jdk's execute path;
In order to solve this problems, I step in two approachs
One appro: transfer env params into container using -e while docker run, but it's failure
Two appro: Using CMD , and it does not work
I'm pretty confused, thks for help me!
ps: the attachments is reason for Zookeeper node failed to start
docker Docker Desktop for Mac 18.09.2