Skip to content

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

@arunprakash647

Description

@arunprakash647

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions