mirror of https://github.com/docker/docs.git
Target ip in the config file needs to be changed (#5865)
* Target ip in the config file needs to be changed
This commit is contained in:
parent
6ddec7eef0
commit
a68b8ffdc1
|
@ -138,7 +138,7 @@ scrape_configs:
|
||||||
# scheme defaults to 'http'.
|
# scheme defaults to 'http'.
|
||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['192.168.65.1:9323']
|
- targets: ['docker.for.mac.host.internal:9323']
|
||||||
```
|
```
|
||||||
|
|
||||||
</div><!-- mac -->
|
</div><!-- mac -->
|
||||||
|
@ -189,7 +189,7 @@ Next, start a single-replica Prometheus service using this configuration.
|
||||||
|
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="active"><a data-toggle="tab" data-target="#linux-run" data-group="linux">Docker for Linux</a></li>
|
<li class="active"><a data-toggle="tab" data-target="#linux-run" data-group="linux">Docker for Linux</a></li>
|
||||||
<li class="active"><a data-toggle="tab" data-target="#mac-run" data-group="mac">Docker for Mac</a></li>
|
<li><a data-toggle="tab" data-target="#mac-run" data-group="mac">Docker for Mac</a></li>
|
||||||
<li><a data-toggle="tab" data-target="#win-run" data-group="win">Docker for Windows or Windows Server</a></li>
|
<li><a data-toggle="tab" data-target="#win-run" data-group="win">Docker for Windows or Windows Server</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -205,7 +205,7 @@ $ docker service create --replicas 1 --name my-prometheus \
|
||||||
```
|
```
|
||||||
|
|
||||||
</div><!-- linux -->
|
</div><!-- linux -->
|
||||||
<div id="mac-run" class="tab-pane fade in active" markdown="1">
|
<div id="mac-run" class="tab-pane fade" markdown="1">
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker service create --replicas 1 --name my-prometheus \
|
$ docker service create --replicas 1 --name my-prometheus \
|
||||||
|
|
Loading…
Reference in New Issue