title: Docker Commit Created Images and ENTRYPOINT
body: <p>How do you ensure that the original CMD specified in your Dockerfile is still set to run on <code>docker run</code>, when you make changes via <code>docker commit</code>?</p>
  
  <p>Here's the sequence of events, to make it a little clearer:</p>
  
  <ol>
  <li>Create image with Dockerfile</li>
  <li>Run container from image with <code>-ti --entrypoint /bin/bash</code> at some point afterwards to make some changes</li>
  <li>Make changes inside container and run <code>docker commit</code> to create new image, with new tag</li>
  <li>When the new image is run, the original CMD entry from the original Dockerfile is no longer run</li>
  </ol>
  
  <p>So I'm asking; how do you reset the CMD from the Dockerfile again on a committed image?</p>