1
0
mirror of https://github.com/docker/docs.git synced 2026-10-31 10:34:26 +03:00

Merge pull request #489 from Nickology/488-filters-typos

Corrected two typos
This commit is contained in:
Alexandre Beslic
2015-03-21 15:06:14 -07:00

View File

@@ -183,11 +183,11 @@ For example,
* `constraint:node==/node\d/` will match all nodes with `node` + 1 digit.
* `constraint:node!=/node-[01]/` will match all nodes, except `node-0` and `node-1`.
* `constraint:node!=/foo\[bar\]/` will match all nodes, except `foo[bar]`. You can see the use of escape characters here.
* `constraint:node==/(?i)node1/` will match node `node1` case-insensitive. So 'NoDe1' or 'NODE1' will also matched.
* `constraint:node==/(?i)node1/` will match node `node1` case-insensitive. So 'NoDe1' or 'NODE1' will also match.
## Port Filter
With this filter, `ports` are considered as a unique resource.
With this filter, `ports` are considered as unique resources.
```
$ docker run -d -p 80:80 nginx