title: What happens when the docker host restarts?
body: <p>What happens when the docker host is shut down and restarted?</p>
  
  <ul>
  <li>will the images that were running be restarted?</li>
  <li>will the changes that were made to those images persist, or will a new instance of the image be spawned and changes be lost?</li>
  <li>does docker have any configuration option, such as the list of images to be automatically executed at startup and the options to run the images? Where? If not, I suppose only the docker command line can be used to alter docker state. Where is that state stored (I suppose somewhere in <code>/var</code>). This could be useful to backup the docker state.</li>
  </ul>
  
  <p>(I'd have liked to find this in the <a href="https://docs.docker.com/faq/">FAQ</a>)</p>