title: Docker - what does `docker run --restart always` actually do?
body: <p>Although it seems like the --restart flag is simple and straightforward, I came up with a number of questions when experimenting with it:  </p>
  
  <ol>
  <li>With respect to <code>ENTRYPOINT</code> definitions - what are the actual defined semantics during restart?</li>
  <li>If I <code>exec</code> into the container (I am on a DDC) and kill -9 the process, it restarts, but if I do <code>docker kill</code> it does not.  Why?</li>
  <li>How does restart interact with Shared Data Containers / Named Volumes?</li>
  </ol>