Running Gatling from container

I am using denvazh/gatling container and everything works well except one thing i try to pass list of simulations like this:

Attaching to gatling
gatling_1 | GATLING_HOME is set to /opt/gatling
gatling_1 | Choose a simulation number:
gatling_1 |      [0] AppsPods
gatling_1 |      [1] ServerSimulation
gatling_1 |      [2] computerdatabase.BasicSimulation
gatling_1 |      [3] computerdatabase.advanced.AdvancedSimulationStep01
gatling_1 |      [4] computerdatabase.advanced.AdvancedSimulationStep02
gatling_1 |      [5] computerdatabase.advanced.AdvancedSimulationStep03 

i write such command as:

  • Using load testing app in docker
  • How can i spawn a multiple instances of a container using kubernetes?
  • Starting a barebones MVC C# ASP.NET project in Docker gives “Compilation Error”
  • Copy file to a Docker container before starting it
  • Docker: mounting local directories as a non-root user in a container
  • docker run can't find application
  • docker run -it –rm -v /home/core/gatling/conf:/opt/gatling/conf \
    -v /home/core/gatling/user-files:/opt/gatling/user-files \
    -v /home/core/gatling/results:/opt/gatling/results \
    denvazh/gatling -s AdvancedSimulationStep01

    but nothing make sense simulation list shows again and i need to choose test from list to start the simulation. So is it possible to run only that test witch i specify starting docker run command???

  • How to intercept the request from Spring Interceptor to Node Service
  • Using absolute path with docker run command not working
  • How to mount volume into the source code of the app?
  • How I can run docker containers on the remote host?
  • Is it feasible to control Docker from inside a container?
  • Add --insecure-registry argument to docker daemon on centos 6
  • One Solution collect form web for “Running Gatling from container”

    You need to give the fully qualified classname i.e

    docker run -it --rm -v /home/core/gatling/conf:/opt/gatling/conf \ -v /home/core/gatling/user-files:/opt/gatling/user-files \ -v /home/core/gatling/results:/opt/gatling/results \ denvazh/gatling -s computerdatabase.advanced.AdvancedSimulationStep01

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.