title: docker container freeze after exit command
body: <p>I have multiple running containers. In some occasion i need to attach to a container with </p>
  
  <pre><code>docker exec -it container /bin/bash
  </code></pre>
  
  <p>being inside, as soon as i execute the command <em>exit</em> it freezes, no response.</p>
  
  <p>I ssh another terminal and <code>docker ps</code> does respond. But I can do anything else. Besides restarting docker service.</p>
  
  <p>Can someone explain me why does this happen? If I exit with </p>
  
  <p><code>control+p</code> <code>control+q</code></p>
  
  <p>everything works well.</p>
  
  <p>note: docker version 1.12.1, build 23cf638</p>