title: docker status "Restating" forever
body: <p>I created some containers and they are not ready to use, always "restarting" status:</p>
  
  <pre><code>docker ps
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                          PORTS                        NAMES
  02141a219070        debian              "/bin/bash"         53 minutes ago      Restarting (0) 3 minutes ago                                 test
  3a8b684011d4        debian              "/bin/bash"         About an hour ago   Restarting (0) 4 minutes ago    10.140.10.151:443-&gt;443/tcp   support-web.equifax.ru
  ad40188569cd        debian              "/bin/bash"         4 hours ago         Restarting (0) 25 minutes ago   10.140.10.150:443-&gt;443/tcp   vpn.equifax.ru
  </code></pre>
  
  <p>No exec:</p>
  
  <p><strong>docker exec test /bin/bash</strong></p>
  
  <p>Error response from daemon: Container test is restarting, wait until the container is running</p>
  
  <p>No logs:</p>
  
  <p><strong>docker logs test</strong></p>
  
  <p>I have created the container this way:</p>
  
  <p><strong>docker run --name=test --restart=always  debian /bin/bash</strong></p>
  
  <p>How to troubleshoot Docker?</p>