mirror of https://github.com/docker/docs.git
Fixed image affinity examples in docs
Signed-off-by: Matt Bentley <mbentley@mbentley.net>
This commit is contained in:
parent
69b5e0f4e3
commit
7fc0f9f2a6
|
@ -154,7 +154,7 @@ You can schedule a container to run only on nodes where a specific image is alre
|
||||||
|
|
||||||
|
|
||||||
Only `node-1` and `node-3` have the `redis` image. Specify a `-e
|
Only `node-1` and `node-3` have the `redis` image. Specify a `-e
|
||||||
affinity:image=redis` filter to schedule several additional containers to run on
|
affinity:image==redis` filter to schedule several additional containers to run on
|
||||||
these nodes.
|
these nodes.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ $ docker -H node-3:2375 pull redis
|
||||||
```
|
```
|
||||||
|
|
||||||
Only `node-1` and `node-3` have the `redis` image. Specify a `-e
|
Only `node-1` and `node-3` have the `redis` image. Specify a `-e
|
||||||
affinity:image=redis` filter to schedule several additional containers to run on
|
affinity:image==redis` filter to schedule several additional containers to run on
|
||||||
these nodes.
|
these nodes.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue