Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arunprakash647 opened this issue Mar 14, 2023 · 0 comments
Open

Comments

@arunprakash647
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant