You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I'm unable to reach the port from within the Prometheus container even though I can reach it outside using curl http://127.0.0.1:9323/metrics.
For anyone wondering how to get it to work, I just set it to 0.0.0.0.
It does of course expose the metrics to other devices on the network, but as the docs say: consider your threat model.
Is this a docs issue?
Type of issue
Information is incorrect
Description
I have the same issue as #6028, however the suggested solution did not work for me.
I have used
127.0.0.1
in my docker config as recommended./etc/docker/daemon.json
:And I'm using
host.docker.internal
in my Prometheus config as suggested in the docs.However, I'm unable to reach the port from within the Prometheus container even though I can reach it outside using
curl http://127.0.0.1:9323/metrics
.Location
https://docs.docker.com/engine/daemon/prometheus/
Suggestion
Update the tutorial page in the documentation
The text was updated successfully, but these errors were encountered: