mirror of https://github.com/docker/cli.git
Syntax corrected
Below are the changes proposed. - Corrected syntax error. - Updated example commands to maintain consistency. - Provided more clarity. Signed-off-by: Venkateswara Reddy Bukkasamudram <bukkasamudram@outlook.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
2dcd4d3d29
commit
74cc062d24
|
@ -98,7 +98,7 @@ be in the range between 1 and 100. The default value of `--limit` is 25.
|
|||
### Filtering
|
||||
|
||||
The filtering flag (`-f` or `--filter`) format is a `key=value` pair. If there is more
|
||||
than one filter, then pass multiple flags (e.g. `--filter "foo=bar" --filter "bif=baz"`)
|
||||
than one filter, then pass multiple flags (e.g. `--filter is-automated=true --filter stars=3`)
|
||||
|
||||
The currently supported filters are:
|
||||
|
||||
|
@ -126,7 +126,7 @@ This example displays images with a name containing 'busybox'
|
|||
and are automated builds:
|
||||
|
||||
```bash
|
||||
$ docker search --filter is-automated busybox
|
||||
$ docker search --filter is-automated=true busybox
|
||||
|
||||
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
|
||||
progrium/busybox 50 [OK]
|
||||
|
@ -139,7 +139,7 @@ This example displays images with a name containing 'busybox', at least
|
|||
3 stars and are official builds:
|
||||
|
||||
```bash
|
||||
$ docker search --filter "is-official=true" --filter "stars=3" busybox
|
||||
$ docker search --filter is-official=true --filter stars=3 busybox
|
||||
|
||||
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
|
||||
progrium/busybox 50 [OK]
|
||||
|
|
Loading…
Reference in New Issue