title: Launch docker on lein test
body: <p>Can I execute a terminal command when <code>lein test</code> is invoked?</p>
  <p>I'm trying with</p>
  <pre><code>:aliases {&quot;docker-launch&quot; [&quot;run&quot; &quot;-m&quot; &quot;docker&quot; &quot;run&quot; &quot;-it&quot; &quot;--rm&quot; &quot;-p&quot; &quot;27017:27017&quot; &quot;mongo:4.2&quot;]}
  :profiles {:default {:prep-tasks ^:test [&quot;docker-launch&quot;] }}
  </code></pre>
  <p>But it only concatenates the docker string with <code>lein run</code>.  I need to launch the docker container to execute tests.</p>