/hello-docker

hello docker

Primary LanguageShell

hello-docker

docker-base

  • docker build -t gree2/base .

docker-kafka

  1. use anapsix/alpine-java

  2. update and install

    1. unzip

    2. wget

    3. curl

    4. docker

    5. jq

    6. coreutils

  3. setup env KAFKA_VERSION and SCALA_VERSION

    1. kafka 0.10.0.0

    2. scala 2.11

  4. add download-kafka.sh to /tmp/

  5. download and extract to /opt/

  6. mount /kafka volume

  7. set env KAFKA_HOME

  8. add shell scripts

    1. start-kafka.sh

    2. broker-list.sh

    3. create-topics.sh

  9. start kafka use shell script

docker-storm

  • rebuild.sh

docker-zookeeper

  • docker build -t gree2/zookeeper .