title: Docker Cannot start container port has already been allocated
body: <p>Hi I am trying to run a container inside docker but I am having next message from docker daemon:</p>
  
  <blockquote>
    <p>Cannot start container 93da5ea87a67c939ed658022cce334c7c80b6b7b629939f31c11cc6146dd8ca7: port has already been allocated</p>
  </blockquote>
  
  <p>The funny part is that I run <code>docker ps</code> and <code>docker ps -a</code> and no instances are there (I have removed all of them), also if I run sudo <code>netstat -anpl | grep 8080</code>, there is no process at 8080 port.</p>
  
  <p>The error I think that comes because just before this I cancelled a docker process which bound to 8080 port when it was starting up but not started yet.</p>
  
  <p>The command I was running <code>docker -t -i -p localhost:8080:8080 &lt;container&gt;</code></p>
  
  <p>I have restarted the computer as well, but I don't know what I can do. Any idea?</p>
  
  <p>Thank you so much.</p>