{"id":15878964,"url":"https://github.com/darkwizard242/docker-prometheus","last_synced_at":"2026-04-24T12:05:29.890Z","repository":{"id":104869428,"uuid":"217775994","full_name":"darkwizard242/docker-prometheus","owner":"darkwizard242","description":"Ready to use \"Prometheus\" containers.","archived":false,"fork":false,"pushed_at":"2020-06-10T18:48:13.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T23:47:52.771Z","etag":null,"topics":["alpine","docker-container","docker-images","linux","monitoring","prometheus"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/darkwizard242/prometheus","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkwizard242.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-26T22:19:35.000Z","updated_at":"2020-06-10T18:48:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d51cc6d-d1d9-4983-aa5a-ee761a5a54ab","html_url":"https://github.com/darkwizard242/docker-prometheus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darkwizard242/docker-prometheus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdocker-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdocker-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdocker-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdocker-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/docker-prometheus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fdocker-prometheus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259620025,"owners_count":22885680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","docker-container","docker-images","linux","monitoring","prometheus"],"created_at":"2024-10-06T02:42:34.298Z","updated_at":"2026-04-24T12:05:29.816Z","avatar_url":"https://github.com/darkwizard242.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-prometheus\n\n[![](https://github.com/darkwizard242/docker-prometheus/workflows/docker-automated-build/badge.svg)](https://github.com/darkwizard242/docker-prometheus/actions) ![Docker Pulls](https://img.shields.io/docker/pulls/darkwizard242/prometheus?color=yellow) ![GitHub](https://img.shields.io/github/license/darkwizard242/docker-prometheus)\n\nDocker 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:\n\n## Supported tags:\n\nCurrently, following (generally the most recent) six versions of `Prometheus` are available as docker images:\n\n- **2.19.0**\n- **2.18.2**\n- **2.18.1**\n- **2.18.0**\n- **2.17.2**\n- **2.17.1**\n\nFeel free to review [Dockerfile](https://github.com/darkwizard242/docker-prometheus/blob/master/Dockerfile) if you like.\n\n## How to use:\n\nSimply, 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.\n\n### 1\\. Prometheus version 2.19.0:\n\n```shell\ndocker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.19.0\n```\n\n### 2\\. Prometheus version 2.18.2:\n\n```shell\ndocker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.18.2\n```\n\n### 3\\. Prometheus version 2.18.1:\n\n```shell\ndocker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.18.1\n```\n\n### 4\\. Prometheus version 2.18.0:\n\n```shell\ndocker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.18.0\n```\n\n### 5\\. Prometheus version 2.17.2:\n\n```shell\ndocker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.17.2\n```\n\n### 6\\. Prometheus version 2.17.1:\n\n```shell\ndocker run -dp 80:9090 --name=prometheus darkwizard242/prometheus:2.17.1\n```\n\n## Author:\n\nCreated 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fdocker-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fdocker-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fdocker-prometheus/lists"}