title: How can I stop and delete a docker container launched with restart always option?
body: <p>I run some containers with the option <em>--restart always</em>.</p>
  
  <p>It works good, so good, that I have now difficulties to stop these containers now :)</p>
  
  <p>I tried :</p>
  
  <pre><code>sudo docker stop container &amp;&amp; sudo docker rm -f container
  </code></pre>
  
  <p>But the container still restarts.</p>
  
  <p>The <a href="https://docs.docker.com/reference/commandline/cli/#restart-policies" rel="noreferrer">docker documentation</a> explains the restart policies, but I didn't find anything to resolve this issue.</p>