mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
added docker run command to readme (#2491)
* added docker run command to readme * updated codebox in readme
This commit is contained in:
parent
de1e4322d7
commit
5aa90c075b
|
@ -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).
|
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
|
### Building from source
|
||||||
|
|
||||||
To build Prometheus from the source code yourself you need to have a working
|
To build Prometheus from the source code yourself you need to have a working
|
||||||
|
|
Loading…
Reference in a new issue