blog icon indicating copy to clipboard operation
blog copied to clipboard

Mistake

Open TDoenges opened this issue 11 months ago • 1 comments

File: /en/202212/emqx-prometheus-grafana.md

There is an mistake in this command: docker run -d --name prometheus -p 9090:9090 -v /path/to/your/prometheus.yaml:/etc/prometheus.yaml prom/prometheus --config.file=/etc/prometheus/prometheus.yaml u mount the *.yaml to etc but later search for it in etc/prometheus/ so it does not work. for me this does the trik: docker run -d --name prometheus -p 9090:9090 -v .\prometheus:/etc/prometheus prom/prometheus --config.file=/etc/prometheus/prometheus.yaml but \prometheus is now a folder with the yaml in it

TDoenges avatar Jan 23 '25 15:01 TDoenges

Thank you very much for pointing this out. We'll update our blog post with the correct command soon. We appreciate your helpful feedback!

ysfscream avatar Apr 14 '25 08:04 ysfscream