title: Docker container log file not found on Mac
body: <p>I am trying to find the docker container log file on Mac.  The container is still running.</p>
  
  <p>I can see output from <code>docker logs es5</code>.<br>
  Run </p>
  
  <pre><code>docker inspect -f {{.LogPath}} es5
  </code></pre>
  
  <p>and I got a the filename.</p>
  
  <blockquote>
    <p>/var/lib/docker/containers/3ac5831155da80986cf7cd45889ce5015cd5b8b0b1d667fa2f66a4da2745caef/3ac5831155da80986cf7cd45889ce5015cd5b8b0b1d667fa2f66a4da2745caef-json.log</p>
  </blockquote>
  
  <p>However, when I <code>cat</code> the file, it can't be found.</p>
  
  <pre><code>cat \`docker inspect -f {{.LogPath}} es5\`
  </code></pre>
  
  <blockquote>
    <p>cat: /var/lib/docker/containers/3ac5831155da80986cf7cd45889ce5015cd5b8b0b1d667fa2f66a4da2745caef/3ac5831155da80986cf7cd45889ce5015cd5b8b0b1d667fa2f66a4da2745caef-json.log: No such file or directory</p>
  </blockquote>
  
  <p>Am I missing something?</p>