https://github.com/darkwizard242/docker-prometheus
Ready to use "Prometheus" containers.
https://github.com/darkwizard242/docker-prometheus
alpine docker-container docker-images linux monitoring prometheus
Last synced: about 2 months ago
JSON representation
Ready to use "Prometheus" containers.
- Host: GitHub
- URL: https://github.com/darkwizard242/docker-prometheus
- Owner: darkwizard242
- License: mit
- Created: 2019-10-26T22:19:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-10T18:48:13.000Z (about 6 years ago)
- Last Synced: 2025-04-01T23:47:52.771Z (about 1 year ago)
- Topics: alpine, docker-container, docker-images, linux, monitoring, prometheus
- Language: Dockerfile
- Homepage: https://hub.docker.com/repository/docker/darkwizard242/prometheus
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-prometheus
[](https://github.com/darkwizard242/docker-prometheus/actions)  
Docker images that contain a running instance of [Prometheus](https://prometheus.io/) ready to be used upon pull/run. These docker images have been built using `alpine:latest` as the base image to keep the produced images as compact as possible. :relaxed:
## Supported tags:
Currently, following (generally the most recent) six versions of `Prometheus` are available as docker images:
- **2.19.0**
- **2.18.2**
- **2.18.1**
- **2.18.0**
- **2.17.2**
- **2.17.1**
Feel free to review [Dockerfile](https://github.com/darkwizard242/docker-prometheus/blob/master/Dockerfile) if you like.
## How to use:
Simply, pull/run the docker image using whichever tag you prefer directly (examples below are mapping host's port `80` to Prometheus container's `9090` port - You can obviously choose to map to a different host port or none at all). The switch `-d` is being used to run the containers in detached form.
### 1\. Prometheus version 2.19.0:
```shell
docker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.19.0
```
### 2\. Prometheus version 2.18.2:
```shell
docker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.18.2
```
### 3\. Prometheus version 2.18.1:
```shell
docker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.18.1
```
### 4\. Prometheus version 2.18.0:
```shell
docker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.18.0
```
### 5\. Prometheus version 2.17.2:
```shell
docker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.17.2
```
### 6\. Prometheus version 2.17.1:
```shell
docker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.17.1
```
## Author:
Created by [Ali Muhammad](https://www.linkedin.com/in/ali-muhammad-759791130/), a DevOps/CloudOps Engineer who loves to learn and contribute to Open Source community.