mirror of https://github.com/docker/docs.git
cli: use the new add-host separator
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
a1015ad58d
commit
0d30e30d15
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue