title: PhpStorm doesn't read PHP configuration from Docker container
body: <h1>What I want</h1>
  
  <p>Run PHPUnit by terminal and configuration in PhpStorm</p>
  
  <h1>What I Have</h1>
  
  <h3>Previous problem</h3>
  
  <p><a href="https://stackoverflow.com/questions/44823973/run-phpunit-by-terminal-with-docker">Resolved in HERE</a> - about not finding files </p>
  
  <h3>File that running</h3>
  
  <pre><code>#!/usr/bin/env bash
  # echo "Current working directory: '"$(pwd)"'"
  cd $(pwd) &amp;&amp; docker run --rm -t -v $(pwd):/var/www -e SYMFONY_ENV=dev ezsystems/php:7.1-v1-dev php $@
  </code></pre>
  
  <h1>Summary</h1>
  
  <p>When I run this by terminal:</p>
  
  <pre><code>docker-phpez vendor/bin/phpunit --coverage-text
  </code></pre>
  
  <p>Everything working correctly.</p>
  
  <p>When I try to run this with configuration of PhpStorm, I get warning that: <code>PHP is not installed</code>.</p>
  
  <p>But running this as remote PHP interpreter, gives me:</p>
  
  <pre><code>docker://ezsystems/php:7.1-v1/php /opt/.phpstorm_helpers/phpunit.php --configuration /var/www/phpunit.xml.dist
  Testing started at 17:06 ...
  The value $_SERVER['IDE_PHPUNIT_PHPUNIT_PHAR'] is specified, but file doesn't exist '/var/www/vendor/bin/phpunit'
  
  Process finished with exit code 1
  </code></pre>
  
  <p>Looking like mounting doesn't work.</p>
  
  <p>Question:</p>
  
  <ul>
  <li>do you know why? How to fix that? </li>
  </ul>
  
  <p>In previous version of PhpStorm I didn't had any problem with that.
  Right now, I have 2016.3.2.</p>