From 5aa90c075b7ea4f13292b9bd7d753de3145a39dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C3=A9ber=20Gyula?= Date: Mon, 13 Mar 2017 11:37:25 +0100 Subject: [PATCH] added docker run command to readme (#2491) * added docker run command to readme * updated codebox in readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cb0b7a0a3..f17d9c1b4 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,12 @@ Debian packages [are available](https://packages.debian.org/sid/net/prometheus). Docker images are available on [Quay.io](https://quay.io/repository/prometheus/prometheus). +You can launch a Prometheus container for trying it out with + + $ docker run --name prometheus -d -p 127.0.0.1:9090:9090 quay.io/prometheus/prometheus + +Prometheus will now be reachable at http://localhost:9090/. + ### Building from source To build Prometheus from the source code yourself you need to have a working