From 00009731cf9d262106105c4005eaff58615ecc7b Mon Sep 17 00:00:00 2001 From: SuperQ Date: Mon, 28 Nov 2022 09:43:22 +0100 Subject: [PATCH] Update Docker run docs * Remove `-d` so it's easier to see errors interactively. * Use `latest` tag to make sure users use the release by default. * Recommend quay.io repo by default. Signed-off-by: SuperQ --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b70d505..128bddf 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,11 @@ Then: *Note: You may want to [enable ipv6 in your docker configuration](https://docs.docker.com/v17.09/engine/userguide/networking/default_network/ipv6/)* - docker run --rm -d -p 9115:9115 --name blackbox_exporter -v `pwd`:/config prom/blackbox-exporter:master --config.file=/config/blackbox.yml + docker run --rm \ + -p 9115/tcp \ + --name blackbox_exporter \ + -v $(pwd):/config \ + quay.io/prometheus/blackbox-exporter:latest --config.file=/config/blackbox.yml ### Checking the results -- 2.25.1