This library is used to connect to Github's multibinder.
cd multibinder
docker build -t multibinder .
cd example
./build.sh
docker create volume multibinder
docker run --net=host -v multibinder:/opt/multibinder multibinder
docker run -v multibinder:/opt/multibinder mbexample -socket=/opt/multibinder/multibinder.sock
curl http://<dockerip>:8083
Then to really test it:
- Kill the docker container running the example
- Start another curl command (it will wait for a connection that is not yet handled)
- Restart the docker mbexample test and see the result appear from curl.