cli: use the new add-host separator

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2023-12-18 11:12:33 +01:00
parent a1015ad58d
commit 0d30e30d15
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ Next, start a Prometheus container using this configuration.
$ docker run --name my-prometheus \
--mount type=bind,source=/tmp/prometheus.yml,destination=/etc/prometheus/prometheus.yml \
-p 9090:9090 \
--add-host host.docker.internal:host-gateway \
--add-host host.docker.internal=host-gateway \
prom/prometheus
```