Docker - What is the easiest way to launch phpunit testsuite
<p>Is there any good way (faster) to launch <strong>phpunit</strong> on <strong>docker</strong>? Here what I used to do :</p>

<pre><code>docker-compose build
docker-compose up
docker ps
docker exec &lt;container_id&gt; phpunit --configuration /myproject/src/Tests/phpunit.xml --testsuite testAllSuites
</code></pre>

<p><strong>Note</strong>: I don't want to use Volume to sync files, so right now everytime I have to rebuild the project .. and I am trying to figure out how to launch test on a specific container without specifing the containe_id .. is it possible to launch it using the build name instead ?</p>