This is a very rudimentary microservice image based on python's bottle.py, using zookeeper for service discovery.
Building from source
docker build -t rshriram/pymicro .
Deploying the setup
Start the microservices specifying zookeeper location and the service name. The names of services can be found in service_dict in the server.py file
docker run -d -e SERVICE_NAME=serviceA -e ZOOKEEPER=host:2181 rshriram/pymicro
curl -o - http://127.0.0.1:9080/bottle/all/view
You should receive a collated response from master, that contains responses from services A, B and C and their sub-services