blackbox_exporter Docker & Self-Hosted Deployment

GitHub

Go blackbox-exporter & icmp repository by @prometheus. Model Context Protocol (MCP) server & tools with 5.8k stars.

5,796 stars Go Go 1 file ยท ~10,882 tokens #blackbox-exporter#icmp#prometheus#prometheus-exporter
1. Pull Image (DOCKERHUB) docker pull prometheus/blackbox_exporter:latest
2. Docker Run (1-Click Launch) docker run -d --name blackbox_exporter -p 9115:9115 --restart always prometheus/blackbox_exporter:latest
3. Podman Run podman run -d --name blackbox_exporter -p 9115:9115 --restart always prometheus/blackbox_exporter:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/prometheus/blackbox_exporter:latest
5. ORAS Pull (OCI Artifact) oras pull prometheus/blackbox_exporter:latest
Dockerfile
ARG ARCH="amd64"
ARG OS="linux"
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
LABEL maintainer="The Prometheus Authors <[email protected]>"

LABEL org.opencontainers.image.authors="The Prometheus Authors <[email protected]>"
LABEL org.opencontainers.image.vendor="Prometheus"
LABEL org.opencontainers.image.title="Blackbox Exporter"
LABEL org.opencontainers.image.description="Prometheus blackbox prober exporter"
LABEL org.opencontainers.image.source="https://github.com/prometheus/blackbox_exporter"
LABEL org.opencontainers.image.url="https://github.com/prometheus/blackbox_exporter"
LABEL org.opencontainers.image.documentation="https://github.com/prometheus/blackbox_exporter/blob/main/README.md"
LABEL org.opencontainers.image.licenses="Apache License 2.0"
LABEL io.prometheus.image.variant="busybox"

ARG ARCH="amd64"
ARG OS="linux"
COPY .build/${OS}-${ARCH}/blackbox_exporter  /bin/blackbox_exporter
COPY blackbox.yml       /etc/blackbox_exporter/config.yml

EXPOSE      9115
ENTRYPOINT  [ "/bin/blackbox_exporter" ]
CMD         [ "--config.file=/etc/blackbox_exporter/config.yml" ]