Public | Automated Build

Last pushed: 2 years ago
Short Description load testing
Full Description Docker Image

Use in docker, for great portability!


Assuming you have a in the root of your project, make a Dockerfile like this:

FROM christianbladescb/locustio

Then build and run the docker image:

$ docker build -t mylocust .
$ docker run --rm -P mylocust

Any requirements you have listed in your requirements.txt will be installed during the build, and locust runs by default!


If you want to run in master/slave mode, specify a different file to run, etc, you can pass the appropriate flags to the container.

$ docker run -d --name master -P mylocust -f --host= --master
$ docker run -d --name slave --link master -f --host= --slave --master-host=master
Docker Pull Command