From 3ece47ff919fd6242081ef63f35b769597873d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Aigreault?= Date: Tue, 2 Feb 2016 14:49:59 +0100 Subject: [PATCH] Fix three typo in docs/scheduler/filter.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dafult -> default by by -> by want run -> want to run Signed-off-by: Clément Aigreault Signed-off-by: Uhsac --- docs/scheduler/filter.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/scheduler/filter.md b/docs/scheduler/filter.md index cf9e563226..17cf77504b 100644 --- a/docs/scheduler/filter.md +++ b/docs/scheduler/filter.md @@ -53,7 +53,7 @@ When creating a container or building an image, you use a `constraint` or Node constraints can refer to Docker's default tags or to custom labels. Default tags are sourced from `docker info`. Often, they relate to properties of the Docker -host. Currently, the dafult tags include: +host. Currently, the default tags include: * `node` to refer to the node by ID or name * `storagedriver` @@ -101,7 +101,7 @@ new containers. Continuing the previous example, assuming your cluster with `node-1` and `node-2`, you can run a MySQL server container on the cluster. When you run the container, you can use a `constraint` to ensure the database gets good I/O -performance. You do this by by filter for nodes with flash drives: +performance. You do this by filtering for nodes with flash drives: ```bash $ docker tcp:// run -d -P -e constraint:storage==ssd --name db mysql @@ -116,7 +116,7 @@ In this example, the master selected all nodes that met the `storage=ssd` constraint and applied resource management on top of them. Only `node-1` was selected because it's the only host running flash. -Suppose you want run an Nginx frontend in a cluster. In this case, you wouldn't want flash drives because the frontend mostly writes logs to disk. +Suppose you want to run an Nginx frontend in a cluster. In this case, you wouldn't want flash drives because the frontend mostly writes logs to disk. ```bash $ docker tcp:// run -d -P -e constraint:storage==disk --name frontend nginx