mirror of
https://github.com/docker/docs.git
synced 2026-03-31 00:08:55 +07:00
Merge pull request #21643 from dvdksn/daemon-metrics-wildcard-addr
engine: use 0.0.0.0 for metrics-addr
This commit is contained in:
@@ -48,8 +48,10 @@ Add the following configuration:
|
||||
Save the file, or in the case of Docker Desktop for Mac or Docker Desktop for
|
||||
Windows, save the configuration. Restart Docker.
|
||||
|
||||
Docker now exposes Prometheus-compatible metrics on port 9323 on the loopback
|
||||
interface.
|
||||
Docker now exposes Prometheus-compatible metrics on port 9323 via the loopback
|
||||
interface. You can configure it to use the wildcard address `0.0.0.0` instead,
|
||||
but this will expose the Prometheus port to the wider network. Consider your
|
||||
threat model carefully when deciding which option best suits your environment.
|
||||
|
||||
### Create a Prometheus configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user