Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.56 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.56 KB

docker-ghz

Docker Size Docker Pulls docker-ghz Version

License

Discord

A slim Alpine-based docker image for running ghz load tests.

Usage:

A good way to use the image with minimal configuration, is to use volumes to mount your proto(s) and config file(s) into the container before executing your call.

This will allow you to call ghz very easily:

docker run \
    --volume "${PWD}/protos:/ghz/protos" \
    --volume "${PWD}/config.json:/ghz/config.json" \
    obvionaoe/ghz \
    --config=/ghz/config.json \
    --proto=/ghz/protos/HelloWorld.proto \
    --call=helloworld.Greeter.SayHello \
    0.0.0.0:50051

This will start the ghz load test.

You can show the help message by running:

docker run obvionaoe/ghz --help

For more information on running ghz, see: https://ghz.sh