Where Them
Logs App
WTLA-01

Docker Engine

2 log locations · Windows, Linux

Docker Inc.

Where Docker Engine keeps its logs

Docker Engine logs to C:\ProgramData\docker\containers\<container-id>\<container-id>-json.log on Windows.

Docker Engine logs to /var/lib/docker/containers/<container-id>/<container-id>-json.log on Linux.

Paths are printed exactly as Docker Engine writes them. Environment variables like %LOCALAPPDATA% and $XDG_STATE_HOME are never expanded, so a path can be pasted straight into a shell. Where a path differs between installer types or shipping flavours, each one is racked as its own card below - why that happens.

Finding your way around Windows and Linux.

Docker Engine log file locations - Windows, Linux · Where Them Logs App