justb4 / docker-jmeter

Docker image for Apache JMeter
MIT License
278 stars 310 forks source link

The '-c' returns an 'unknown option' when attempting a docker run #74

Open arunprakash647 opened 1 year ago

arunprakash647 commented 1 year ago

Hello,

I am trying to create a dockerfile that references the justb4/jmeter image and uses that to run a jmeter script that I have saved locally on my machine. When I go to the directory on my device where my dockerfile is located and do the command 'docker build -< Dockerfile', it builds successfully. However when I run it, it will output the following:

START Running Jmeter on Thu Aug 8 13:25:25 UTC 2019 JVM_ARGS=-Xmn9640m -Xms38560m -Xmx38560m jmeter args=sh -c if [ -x /usr/local/bin/bash ]; then 24 exec /usr/local/bin/bash Error: Unknown option -c

Is the -c there intentionally?