Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to start Prometheus v2.0.0-alpha.3 in Docker container #2878
Comments
anirbanroydas
changed the title
Unable to start prometheus in docker container
Unable to start Prometheus v2.0.0-alpha.3 in Docker container
Jun 26, 2017
This comment has been minimized.
This comment has been minimized.
|
Hi the flag format change to For more changes see: https://prometheus.io/blog/2017/06/21/prometheus-20-alpha3-new-rule-format/ |
This comment has been minimized.
This comment has been minimized.
|
@gouthamve Thanks for such a quick response. Meanwhile I am using 1.7.1 just to get it going. What additional features do I get with v2.0.0-alpha.3 as compared to 1.7.1? |
This comment has been minimized.
This comment has been minimized.
|
Just found this issue while encountering the same problem. I think we can close this, leaving it as a reference |
This comment has been minimized.
This comment has been minimized.
|
@anirbanroydas 2.0 rewrites major subsystems. there will be a proper announcement, or check the mailing list for the original alpha announcement. if in doubt, use a released version. |
matthiasr
closed this
Jun 29, 2017
This comment has been minimized.
This comment has been minimized.
alamaison
commented
Jul 13, 2017
|
Should this have been closed? It's a bug with the Dockerfile and released docker container |
This comment has been minimized.
This comment has been minimized.
|
You are right. Fix in #2942 |
This comment has been minimized.
This comment has been minimized.
taragurung
commented
Jan 23, 2018
|
I am running these command and initially I have the error as mentioned above and than replaced single - with -- than I am getting the error bellow: |
This comment has been minimized.
This comment has been minimized.
czerasz
commented
Apr 9, 2018
|
I also stumbled on this issue :-) I see even though #2942 was merged in Jul 13, 2017 the FROM quay.io/prometheus/busybox:latest
MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
COPY prometheus /bin/prometheus
COPY promtool /bin/promtool
COPY documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml
COPY console_libraries/ /etc/prometheus/
COPY consoles/ /etc/prometheus/
EXPOSE 9090
VOLUME [ "/prometheus" ]
WORKDIR /prometheus
ENTRYPOINT [ "/bin/prometheus" ]
CMD [ "-config.file=/etc/prometheus/prometheus.yml", \
"-storage.local.path=/prometheus", \
"-web.console.libraries=/etc/prometheus/console_libraries", \
"-web.console.templates=/etc/prometheus/consoles" ] |
RazzDazz
added a commit
to RazzDazz/docker-prometheus
that referenced
this issue
Dec 18, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
anirbanroydas commentedJun 26, 2017
What did you do?
I started prometheus using docker by writing a docker-compose.yml file.
What did you expect to see?
A successful docker-compose up
What did you see instead? Under which circumstances?
Container restarting since restart condition was unless-stopped.
When I checked the logs, I saw the following:
Environment
Used docker, so its mentioned in the docker-compose.yml pasted above.