title: List only stopped Docker containers
body: <p>Docker gives you a way of listing running containers or all containers including stopped ones.</p>
  
  <p>This can be done by:</p>
  
  <pre><code>$ docker ps # To list running containers
  </code></pre>
  
  <p>Or by</p>
  
  <pre><code>$ docker ps -a # To list running and stopped containers
  </code></pre>
  
  <p>Do we have a way of only listing containers that have been stopped?</p>