mirror of
https://github.com/docker/docs.git
synced 2026-04-03 09:49:05 +07:00
Fixed image affinity examples in docs
Signed-off-by: Matt Bentley <mbentley@mbentley.net>
This commit is contained in:
@@ -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
|
||||
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.
|
||||
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ $ docker -H node-3:2375 pull redis
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user