title: Restarting vs Building a Container on Docker
body: <p>I have some difficulties understanding when to restart a container and when to build a new one.</p>
  
  <p>Imagine I have a webapp whose data I give to a container (over a symbolic link which point to the current deploy). Now I have two options when a new deploy comes in: (1) build a new container from an image or (2) simply restart the running container. </p>
  
  <p>I know that the decision depends on various things but my question is a more conceptual one:</p>
  
  <p>What is generally a better practice or how is Docker meant to be used? Do you see any problems with one of these approaches?</p>