title: Error "The input device is not a TTY"
body: <p>I am running the following command from my <code>Jenkinsfile</code>. However, I get the error <em>"The input device is not a TTY"</em>.</p>
  
  <pre><code>docker run -v $PWD:/foobar -it cloudfoundry/cflinuxfs2 /foobar/script.sh
  </code></pre>
  
  <p>Is there a way to run the script from the <code>Jenkinsfile</code> without doing interactive mode?</p>
  
  <p>I basically have a file called <code>script.sh</code> that I would like to run inside the Docker container.</p>