Search code examples
dockerdocker-for-windowsdocker-desktop

Docker log (driver json-file) location for Docker for windows


I want to locate a container's log location.

  • I use Docker Desktop for Windows
  • I know that on linux they are at /var/lib/docker/containers/

But where is it. Is it hidden away somewhere in an inaccessible VM?


Solution

  • On windows you can find the containers logs inside:

    C:\ProgramData\docker\containers\[Your_container_ID]\[Your_container_ID]-json.log