I am trying to start Confluent on a running docker image for ubuntu. Here is the error for the command:
root@linuxkit-025000000001:/# /my/dir/path/confluent-4.0.0/bin/confluent start
Here is the output log:
Starting zookeeper
zookeeper is [UP]
Starting kafka
|Kafka failed to start
kafka is [DOWN]
Cannot start Schema Registry, Kafka Server is not running. Check your deployment
I tried to start Kafka using :
# cd confluent-4.0.0
# ./bin/kafka-server-start ./etc/kafka/server.properties
Here is the IMPORTANT error log:
Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer) java.net.UnknownHostException: linuxkit-025000000001: linuxkit-025000000001: Name or service not known
What is the solution to run Kafka?