Skip to content

/jmeter-entrypoint.sh: line 13: JVM_XMN: parameter not set #66

@karimahlafi

Description

@karimahlafi

Hello,

I took the entrypoint.sh to set up a docker image, i have created the dockerfile for jmeter, with the entrypoint.sh that you've provided.

the image build passes successfully, as following :

docker build -f Dockerfile-jmeter --build-arg <proxy> -t alpine.jmeter .

and i get my image

REPOSITORY                                    TAG       IMAGE ID       CREATED          SIZE
alpine.jmeter                                 latest    ae5d190b10fc   26 minutes ago   889MB

how ever, in the moment when i want to run the image in a contianer, using command line

docker run --name alpine.jmeter -it alpine.jmeter

i get the following issue

/jmeter-entrypoint.sh: line 13: JVM_XMN: parameter not set

and its these parameter right here

[[ -z ${JVM_XMN} ]] && JVM_XMN=$(($freeMem/10*2))
[[ -z ${JVM_XMS} ]] && JVM_XMS=$(($freeMem/10*8))
[[ -z ${JVM_XMX} ]] && JVM_XMX=$(($freeMem/10*8))

can you help ?

thank you in advance,

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