Public Repository

Last pushed: 2 years ago
Short Description
an image contains all distributed bin
Full Description

This image is tested under docs/marathon, it mainly contains all the bookkeeper and distributed log Jars.

Here is the docker file:

cnenzhaijm1:bookkeeper zhaij$ cat Dockerfile
FROM centos:6


RUN yum update -y \
&& yum -y install unzip \
&& yum -y install java-1.8.0-openjdk-devel \
&& yum clean all
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0

#bookie port
EXPOSE 3181 9001

#all execute-able bin, download from distributed_log
COPY dl_all /opt/dl_all
WORKDIR /opt/dl_all

#After container up, Following instructions to build bookie cluster


dl_all dir is downloaded from :

then unzip it,
1, regarding the configuration file

#cp distributedlog-service/conf/bookie.conf.template distributedlog-service/conf/bookie-1.conf
change some paremeters:
zkServers=master.mesos:2181 < === this is the default zookeeper master in dcos
journalDirectory=/bk/journal < === these 3 dirs should align to the one that we use in dcos/marathon json description file.

2, regarding the,
this .sh mainly handle 2 things:
a) check if bookkeeper metadata in zookeeper has been formated before, by checking whether the readonly dir is existed. If not, we should format the metadata.
b) start a bookie.

3, this is the raw version, will add more config info in dockerfile.

Docker Pull Command