title: How To Completely Rebuild A Docker Container
body: <p>Not entirely sure what I am asking but I will attempt to try and explain what I want.</p>
  
  <p>I have a <code>docker-compose</code> file. And from the command line I type in...</p>
  
  <p><code>docker-compose up</code></p>
  
  <p>The first time this ever happens it tells me it is <code>pulling</code> the docker image and then <code>downloading</code> it,  <code>building</code> it and <code>running</code> it.</p>
  
  <p>Sometimes I need to change the docker-compose file and I would like to just re-do the entire process (as specified above). </p>
  
  <p>But.... the only way I can see to do this is to go the the GUI of docker (on mac) and hit the <code>bomb</code> icon to factory reset the entire thing.</p>
  
  <p>Of course this nukes my other docker images (which feels like a sledgehammer to crack a nut).</p>
  
  <p>Can anybody furnish me with a command that will reset and force and entire fresh download of an image?</p>