Skip to content

Commit 3acfc9e

Browse files
authored
Merge pull request #21643 from dvdksn/daemon-metrics-wildcard-addr
engine: use 0.0.0.0 for metrics-addr
2 parents 1f9cfb5 + 7e4fd0f commit 3acfc9e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/manuals/engine/daemon/prometheus.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ Add the following configuration:
4848
Save the file, or in the case of Docker Desktop for Mac or Docker Desktop for
4949
Windows, save the configuration. Restart Docker.
5050

51-
Docker now exposes Prometheus-compatible metrics on port 9323 on the loopback
52-
interface.
51+
Docker now exposes Prometheus-compatible metrics on port 9323 via the loopback
52+
interface. You can configure it to use the wildcard address `0.0.0.0` instead,
53+
but this will expose the Prometheus port to the wider network. Consider your
54+
threat model carefully when deciding which option best suits your environment.
5355

5456
### Create a Prometheus configuration
5557

0 commit comments

Comments
 (0)