To get the environment for Dendrite on top of Docker you can either Pull it from the public docker index, or you can build it from source.
Pull from Docker index:
sudo docker pull lab41/dendrite sudo docker tag lab41/dendrite dendrite
Build from source:
git clone https://github.com/Lab41/try41.git cd try41/dockerfiles/dendrite/dendrite-build sudo docker build -t lab41/dendrite-build . cd ../dendrite-java sudo docker build -t lab41/dendrite-java . cd ../dendrite-repos sudo docker build -t lab41/dendrite-repos . cd ../dendrite-cdh5 sudo docker build -t lab41/dendrite-cdh5 . cd ../dendrite-elasticsearch sudo docker build -t lab41/dendrite-elasticsearch . cd ../dendrite-graphlab sudo docker build -t lab41/dendrite-graphlab . cd ../dendrite-ungit sudo docker build -t lab41/dendrite-ungit . cd ../dendrite-snap sudo docker build -t lab41/dendrite-snap . cd .. sudo docker build -t dendrite .
Once the image has been built you can either run it as a contained webapp as it's used in Try41, or you can run in a shell and poke around.
Run as a webapp:
sudo docker run -d -P dendrite
Run in a shell:
sudo docker run -i -t -P dendrite /bin/bash
NOTE: when running in a shell, you can also execute /usr/bin/supervisord and access the webapp from the exposed port
Find port that was exposed:
sudo docker ps
I pulled the image, also built from source. I get the same behavior - the container starts, and then after a few seconds, stops. I'm on a CentOS 6.5 box. Once I resolve (or give up and switch to a different host OS), I'll post my findings.