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:

  • docker add cache when git checkout same file
  • Docker volume is empty for jenkins compose file, not copying any files
  • Using SSH keys inside docker container
  • Docker create images “Ubuntu 14.04” with Docker file
  • Where to put folders for code in docker containers
  • Debug nodejs app inside Docker container
  • 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 grab remote latest maven tar.gz file?
  • Docker container exits immediately
  • Extend docker container
  • Kong API Authentication using Oauth2.0
  • How can you limit which users have Docker exec access in a shared environment?
  • How to run docker containers on different machines
  • 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.