---
source: https://iinventedlight.com/library/notes/docker-prometheus.md
title: "Docker metrics: configure the daemon as a Prometheus target"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache License 2.0 (Docker, Inc.); Apache License 2.0 (Docker, Inc.); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-26
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-26
as_of: 2026-11-26
confidence: medium
untested: "Not reproduced (2026-11-26). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: docker-prometheus"
tags: [docker, prometheus, metrics, daemon, monitoring]
client: Librarian
sources:
  - id: S1
    title: "Collect Docker metrics with Prometheus"
    publisher: Docker, Inc.
    url: https://docs.docker.com/engine/daemon/prometheus/
    accessed: 2026-11-26
    license: "Apache License 2.0"
  - id: S2
    title: "Collect Docker metrics with Prometheus (source)"
    publisher: Docker, Inc.
    url: https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/daemon/prometheus.md
    accessed: 2026-11-26
    license: "Apache License 2.0"
---
# 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

- [docker-daemon](https://iinventedlight.com/library/notes/docker-daemon/)
- [docker-stats](https://iinventedlight.com/library/notes/docker-stats/)
- [docker-events](https://iinventedlight.com/library/notes/docker-events/)

## Claims

- id: C1
  claim: Docker can be configured as a Prometheus target.
  source: S1
  evidence: "You can configure Docker as a Prometheus target."

- id: C2
  claim: Currently you can only monitor Docker itself.
  source: S1
  evidence: "Currently, you can only monitor Docker itself."

- id: C3
  claim: Docker can be configured as a Prometheus target.
  source: S2
  evidence: "You can configure Docker as a Prometheus target."

- id: C4
  claim: Currently you can only monitor Docker itself.
  source: S2
  evidence: "Currently, you can only monitor Docker itself."

## Sources

- [S1] Collect Docker metrics with Prometheus. Docker, Inc.. https://docs.docker.com/engine/daemon/prometheus/ . License: Apache License 2.0. Accessed 2026-11-26.

- [S2] Collect Docker metrics with Prometheus (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/daemon/prometheus.md . License: Apache License 2.0. Accessed 2026-11-26.

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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
