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

prom/prometheus:v2.0.0-beta.0 container crashes on start #2952

Closed
hanikesn opened this Issue Jul 14, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@hanikesn
Copy link

hanikesn commented Jul 14, 2017

The prom/prometheus:v2.0.0-beta.0 container images crashes with the following error message:

prometheus: error: unknown short flag '-c'
@rgcamus

This comment has been minimized.

Copy link

rgcamus commented Jul 15, 2017

#2942 ?

@gouthamve

This comment has been minimized.

Copy link
Member

gouthamve commented Jul 15, 2017

Hi, yes this bug has been fixed by #2942 and is in HEAD. As a fix, you need to pass the flags manually to docker.

For example:
docker run --rm -it prom/prometheus:v2.0.0-beta.0 --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus

Closing this as the fix is in HEAD. Please re-open if you think otherwise.

@sethubala76

This comment has been minimized.

Copy link

sethubala76 commented Dec 8, 2018

docker run -it -d --name prometheus -p 9090:9090 -v /docker/prometheus:/etc/prometheus --link alertmanager prom/prometheus:v2.0.0-beta.0 --config.file=/etc/prometheus/prometheus.yml -alertmanager.url="http://alertmanager:9093/

Errored by --
docker logs a3e041ab2acc7a6aa18e8338ef325e0e453cb25f9a0a3a1c2245286fcb0fce24
prometheus: error: unknown short flag '-a'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.