Chris Smith e1898c4177 Add method to get networks for a container. | 8 years ago | |
---|---|---|
test | 8 years ago | |
Dockerfile | 8 years ago | |
README.md | 8 years ago | |
circle.yml | 8 years ago | |
etcdlib.py | 8 years ago |
This is a docker image intended as a base layer for things interacting with my service reporter container.
It provides a python library for interacting with etcd, with convenience functions for retrieving the higher-level data structures (such as containers and labels) that the reporter service creates.
A separate Dockerfile for tests is located in the tests directory. It depends on a ‘dev’ label of csmith/service-reporter-lib. You can build and run the tests like so:
docker build -t csmith/service-reporter-lib:dev .
docker build -t csmith/service-reporter-lib-test:dev test
docker run --rm -it csmith/service-reporter-lib-test:dev