title: Docker : starting container process caused "exec: \"-n\": executable file not found in $PATH": unknown
body: <p>While launching a command on my docker image (run), I get the following error : </p>
  
  <pre><code>C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"-n\": executable file not found in $PATH": unknown.
  </code></pre>
  
  <p>The image is an image for Jmeter, that I have created myself : </p>
  
  <pre><code>FROM        hauptmedia/java:oracle-java8
  
  MAINTAINER  maisie
  
  ENV         JMETER_VERSION  5.2.1
  ENV         JMETER_HOME /opt/jmeter
  ENV         JMETER_DOWNLOAD_URL https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-${JMETER_VERSION}.tgz
  
  RUN         apt-get clean
  RUN         apt-get update
  RUN         apt-get -y install ca-certificates              
  RUN         mkdir -p ${JMETER_HOME}                         
  RUN         cd ${JMETER_HOME}                           
  RUN         wget https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.2.1.tgz
  RUN         tar -xvzf apache-jmeter-5.2.1.tgz   
  RUN         rm apache-jmeter-5.2.1.tgz          
  </code></pre>
  
  <p>The command that I am launching is :</p>
  
  <pre><code>#!/bin/bash
  
  export volume_path=$(pwd)
  
  export jmeter_path="/opt/apache-jmeter-5.2.1/bin"
  
  docker run --volume ${volume_path}:${jmeter_path} my/jmeter -n -t ${jmeter_path}/TEST.jmx -l ${jmeter_path}/res.jtl
  </code></pre>
  
  <p>I really can't find any answer to my problem ...</p>
  
  <p>Thank you in advance for any help.</p>