title: Docker: Show stopped Docker containers
body: <p>I am new to Docker, and I would like to list the stopped containers.</p>
  
  <p>With <code>docker ps</code>:</p>
  
  <pre><code>sudo docker ps
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
  </code></pre>
  
  <p>Nothing appears, because I restarted the machine and I didn't configure them to start the containers automatically.</p>
  
  <p>So when I try to run a container it says:</p>
  
  <pre><code>sudo docker run -d -p 8080:80 --name=angular_moviemasher  moviemasher/angular-moviemasher
  docker: Error response from daemon: Conflict. The name "/angular_moviemasher" is already in use by container b4428b708711c15233f558e70f58cb7800e23c4a6a57534abfa5818912630a37. You have to remove (or rename) that container to be able to reuse that name..
  See 'docker run --help'.
  </code></pre>
  
  <p>So I would like to see which Docker containers are already installed and start them.</p>
  
  <p>In the documentation <em><a href="https://coderwall.com/p/2es5jw/docker-cheat-sheet-with-examples" rel="noreferrer">Docker Cheat Sheet with examples</a></em> I can only find an example of how to show <strong>running</strong> containers:</p>
  
  <blockquote>
    <p>Info of Container</p>
    
    <p>To show running Containers. With -a option, it shows running and
    stopped Containers.</p>
    
    <p>docker ps</p>
  </blockquote>