title: Automatically Start Services in Docker Container
body: <p>I'm doing some initial tests with docker. At moment i have my images and I can put some containers running, with:</p>
  
  <pre><code>docker ps
  </code></pre>
  
  <p>I do <code>docker attach container_id</code> and start apache2 service.</p>
  
  <p>Then from the main console I  commit the container to the image.</p>
  
  <p>After exiting the container, if I try to start the container or try to run one new container from the committed image, the service is always stopped.</p>
  
  <p>How can create or restart one container with the services started, for example apache?</p>