A direct container as a program of locust load testing tool.
The container provides you with an install of locust and pyzmq for distributed use. The container is as light as possible using alpine and tini for init.
The container runs locust as an entrypoint with tini:
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/locust"]
The ports 8089, 5557, and 5558 are exposed both to have access to the web ui and to connect to other nodes of the tool.
You can run by simply inputting the settings you wish to use and mounting the file you wish to locustfile you wish to use:
docker run \
-v locustfile:/locustfile \
-p 8089:8089 -p 5557:5557 -p 5558:5558 \
abaez/locust -H 127.0.0.1 -f /locustfile --master
Content type
Image
Digest
Size
81.3 MB
Last updated
over 8 years ago
docker pull abaez/locust