Docker image for Gatling load testing tool
latest
3.12.0
3.11.5
,3.11.4
,3.11.3
,3.11.2
,3.11.1
,3.11.1-jdk19
,3.11.1-jdk21
,3.11.1-jdk22
,3.11.1-jdk23
3.10.5
,3.10.4
,3.10.3
,3.10.2
,3.10.1
,3.10.0
3.9.5
,3.9.4
,3.9.3
,3.9.2
,3.9.1
,3.9.0
3.8.4
,3.8.3
,3.8.2
,3.8.1
,3.8.0
3.7.6
3.6.1
3.2.1
-
Install Docker
-
Get automated build from public registry:
# Latest version:
docker pull ladamalina/gatling:latest
# All versions:
docker pull ladamalina/gatling
# Specific version:
docker pull ladamalina/gatling:3.12.0
- [Alternatively] Build an image from Dockerfile:
docker build -t="ladamalina/gatling" github.com/ladamalina/gatling
Use image to run container
docker run -it --rm ladamalina/gatling
Mount configuration and simulation files from the host machine and run gatling in interactive mode
docker run -it --rm \
-v $(pwd)/conf:/opt/gatling/conf \
-v $(pwd)/user-files/resources:/opt/gatling/user-files/resources \
-v $(pwd)/user-files/simulations:/opt/gatling/user-files/simulations \
-v $(pwd)/user-files/lib:/opt/gatling/user-files/lib \
-v $(pwd)/results:/opt/gatling/results \
ladamalina/gatling
Use the -e
switch to use JAVA_OPTS to pass parameters to gatling tests
docker run -e JAVA_OPTS="-Dusers=10" -it --rm ladamalina/gatling