← All notes

Docker metrics: configure the daemon as a Prometheus target

Answer: The Docker daemon can be configured as a Prometheus monitoring target.

What you can monitor

Prometheus is an open-source systems monitoring and alerting toolkit.

Application metrics are not available through the Docker target today.

Only Docker itself can be monitored at present.

Metric names are still in flux and may change at any time.

How to expose metrics

The daemon is configured by specifying metrics-address in the daemon.json file.

On Linux the default path is /etc/docker/daemon.json.

After a restart, Docker exposes Prometheus-compatible metrics on port 9323 via the loopback interface.

A wildcard address would expose the Prometheus port to the wider network.

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., Collect Docker metrics with Prometheus; Docker, Inc., Collect Docker metrics with Prometheus (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., Collect Docker metrics with Prometheus; Docker, Inc., Collect Docker metrics with Prometheus (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.

Cite this

Permanent ID: iil:note:xtaqh2e3

iinventedlight. 2026. "Docker metrics: configure the daemon as a Prometheus target." iinventedlight Library, iil:note:xtaqh2e3, version of 2026-11-26. https://iinventedlight.com/library/notes/docker-prometheus/. License: CC-BY-4.0.

@misc{iil_note_xtaqh2e3,
  author = {{iinventedlight}},
  title = {{Docker metrics: configure the daemon as a Prometheus target}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-26},
  url = {https://iinventedlight.com/library/notes/docker-prometheus/},
  note = {Permanent ID iil:note:xtaqh2e3. 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-prometheus.md.