title: Docker: how to restart process inside of container?
body: <p>I have a set of tests which I would like to run on docker container. 
  In the middle of the tests I am changing me test data and I need to restart JETTY. </p>
  
  <p>What is the best way to do that?</p>
  
  <p>I can imagine some options:</p>
  
  <ol>
  <li><p>With SSH - but for the docker ssh is not the best option. </p></li>
  <li><p>Python agent on docker to listen sockets - expose one more port, connect and restart jetty.</p></li>
  </ol>
  
  <p>Maybe there are better ideas for that?</p>
  
  <p>Thanks</p>