Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistake #1472

Open
TDoenges opened this issue Jan 23, 2025 · 0 comments
Open

Mistake #1472

TDoenges opened this issue Jan 23, 2025 · 0 comments

Comments

@TDoenges
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant