title: Can not test apache kafka official site commands using docker: no such file or directory
body: <p>I have run the apache kafka and prometheus using docker. I will attach the docker-compose and other configurations at the bottom of this post! </p>
  
  <p><strong>Introduction:</strong> First I should explain that each metric of kafka works well on prometheus. So there is no problem in the implementation and running of the images. </p>
  
  <p><strong>Problem:</strong> The only problem is where I want to test the stream (Producer, Broker and Consumer) following the tutorial of the <a href="https://kafka.apache.org/quickstart" rel="nofollow noreferrer">official site of apache kafka</a>. But whenever I execute the commands found on the site, I faced with the <code>command not found error</code>, because I don't know where the files exactly are! As an example whenever I execute the <code>bin/zookeeper-server-start.sh config/zookeeper.properties</code> command I face with the following error:</p>
  
  <blockquote>
    <p>no such file or directory: bin/zookeeper-server-start.sh</p>
  </blockquote>
  
  <p><strong>Attachments:</strong> </p>
  
  <p>docker-compose.yml:</p>
  
  <pre><code>version: '2'
  services:
    zookeeper:
      image: wurstmeister/zookeeper
      ports:
        - "2181:2181"
    kafka:
      build: .
      links:
       - zookeeper
      ports:
        - "9092:9092"
      environment:
        KAFKA_ADVERTISED_HOST_NAME: kafka
        KAFKA_ADVERTISED_PORT: 9092
        KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
        KAFKA_OPTS: -javaagent:/usr/app/jmx_prometheus_javaagent.jar=7071:/usr/app/prom-jmx-agent-config.yml
      volumes:
        - /var/run/docker.sock:/var/run/docker.sock
    prometheus:
      image: prom/prometheus
      ports:
        - 9090:9090/tcp
      volumes:
        - ./mount/prometheus:/etc/prometheus
  
      links:
        - kafka
  </code></pre>
  
  <p>Dockerfile:</p>
  
  <pre><code>FROM wurstmeister/kafka
  
  ADD prom-jmx-agent-config.yml /usr/app/prom-jmx-agent-config.yml
  ADD jmx_prometheus_javaagent-0.10.jar /usr/app/jmx_prometheus_javaagent.jar
  </code></pre>
  
  <p><strong>Question:</strong> Is there any solution to find where are the original files are mapped in the created container and execute them?</p>