title: docker logs -f after container restart
body: <p>I am using <code>docker logs -f mycontainer</code> to check the logs.  If I restart <code>mycontainer</code> by <code>docker rm -f mycontainer</code> then <code>docker run -d --name mycontainer</code>,  I need to use <code>Ctrl-C</code> then rerun the <code>docker logs</code> command to get the logs.  I wonder if there is a better way for me to keep receiving the logs even after the container restarts.</p>