title: What is the difference between "docker logs" and "docker attach"?
body: <p>They both allow you to connect to the stdout/stderr of a running container. In particular <code>docker logs --follow</code> seems to work similarly to <code>docker attach</code>.</p>
  
  <p>Is one command an obsolete version of the other, or are there significant differences?</p>