title: How to run docker commands in Scala?
body: <p>I try to write integration tests in scala. I have a docker files for the integration tests.</p>
  
  <p>I want to run docker container before tests, and stop all of them after tests.</p>
  
  <p>I have to use docker command like <code>docker run ...</code> to up docker containers. </p>
  
  <p>How can i do that in scala with type safe? For example, </p>
  
  <pre><code>Docker.runCommand("docker run ...")
  Docker.stopAll(containerids)
  </code></pre>
  
  <p>Etc</p>