Skip to content

Commit 0517f11

Browse files
committed
engine: use 0.0.0.0 for metrics-addr
Signed-off-by: David Karlsson <[email protected]>
1 parent 753cf3e commit 0517f11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/manuals/engine/daemon/prometheus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ Add the following configuration:
4141

4242
```json
4343
{
44-
"metrics-addr": "127.0.0.1:9323"
44+
"metrics-addr": "0.0.0.0:9323"
4545
}
4646
```
4747

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, using the
52+
wildcard address `0.0.0.0`.
5353

5454
### Create a Prometheus configuration
5555

0 commit comments

Comments
 (0)