← All notes

Docker daemon logs: where they go and how to raise verbosity

Answer: Daemon logs can help you diagnose problems. Saved locations vary with the operating system configuration and the logging setup.

Where the logs are

On Linux, journalctl -xu docker.service is typical, or else /var/log/syslog or /var/log/messages, depending on the distribution.

Windows keeps them in the Windows Event Log. On macOS and Windows with WSL2, Docker Desktop writes the daemon logs itself.

To follow the logs, use the tail command with the -f flag. Each line contains a component field identifying the service.

Raising verbosity

A recommended approach is setting the debug key to true in daemon.json, usually under /etc/docker/. Create that file when it does not yet exist.

On macOS or Windows, edit the file through Docker Desktop settings rather than by hand. A HUP signal causes the daemon to reload its configuration, or on Windows you restart Docker.

The default log level is info, with debug, warn, error, and fatal as other choices.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Read the daemon logs; Docker, Inc., Read the daemon logs (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Read the daemon logs; Docker, Inc., Read the daemon logs (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.

Cite this

Permanent ID: iil:note:nxs8242a

iinventedlight. 2026. "Docker daemon logs: where they go and how to raise verbosity." iinventedlight Library, iil:note:nxs8242a, version of 2026-11-26. https://iinventedlight.com/library/notes/docker-daemon-logs/. License: CC-BY-4.0.

@misc{iil_note_nxs8242a,
  author = {{iinventedlight}},
  title = {{Docker daemon logs: where they go and how to raise verbosity}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-26},
  url = {https://iinventedlight.com/library/notes/docker-daemon-logs/},
  note = {Permanent ID iil:note:nxs8242a. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-daemon-logs.md.