title: docker-compose restart on failure
body: <p>I would like to automatically <strong>restart a container</strong> (not run an image) when it stops running.</p>
  <p>All the examples I see mention <code>docker run</code> but I just want to restart a previously created container.</p>
  <p>I tried adding the following to the service definition in the yml file, but it didn't do anything:</p>
  <pre><code>restart: always
  </code></pre>